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