diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Devices/Adc/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Devices/Adc/mod.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Devices/Adc/mod.rs b/vendor/windows-sys/src/Windows/Devices/Adc/mod.rs new file mode 100644 index 000000000..1605154e1 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Devices/Adc/mod.rs @@ -0,0 +1,17 @@ +#[cfg(feature = "Devices_Adc_Provider")] +pub mod Provider; +pub type AdcChannel = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Devices_Adc\"`*"] +#[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; |