blob: be695499a01003f8e1fbfef32fd565272dd71aaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "Devices_Adc_Provider")]
pub mod Provider;
#[link(name = "windows")]
extern "system" {}
pub type AdcChannel = *mut ::core::ffi::c_void;
#[repr(transparent)]
pub struct AdcChannelMode(pub i32);
impl AdcChannelMode {
pub const SingleEnded: Self = Self(0i32);
pub const Differential: Self = Self(1i32);
}
impl ::core::marker::Copy for AdcChannelMode {}
impl ::core::clone::Clone for AdcChannelMode {
fn clone(&self) -> Self {
*self
}
}
pub type AdcController = *mut ::core::ffi::c_void;
|