Trait windows::Devices::Adc::Provider::IAdcControllerProvider_Impl
pub trait IAdcControllerProvider_Impl: Sized {
// Required methods
fn ChannelCount(&self) -> Result<i32>;
fn ResolutionInBits(&self) -> Result<i32>;
fn MinValue(&self) -> Result<i32>;
fn MaxValue(&self) -> Result<i32>;
fn ChannelMode(&self) -> Result<ProviderAdcChannelMode>;
fn SetChannelMode(&self, value: ProviderAdcChannelMode) -> Result<()>;
fn IsChannelModeSupported(
&self,
channelmode: ProviderAdcChannelMode,
) -> Result<bool>;
fn AcquireChannel(&self, channel: i32) -> Result<()>;
fn ReleaseChannel(&self, channel: i32) -> Result<()>;
fn ReadValue(&self, channelnumber: i32) -> Result<i32>;
}
Required Methods§
fn ChannelCount(&self) -> Result<i32>
fn ResolutionInBits(&self) -> Result<i32>
fn MinValue(&self) -> Result<i32>
fn MaxValue(&self) -> Result<i32>
fn ChannelMode(&self) -> Result<ProviderAdcChannelMode>
fn SetChannelMode(&self, value: ProviderAdcChannelMode) -> Result<()>
fn IsChannelModeSupported( &self, channelmode: ProviderAdcChannelMode, ) -> Result<bool>
fn AcquireChannel(&self, channel: i32) -> Result<()>
fn ReleaseChannel(&self, channel: i32) -> Result<()>
fn ReadValue(&self, channelnumber: i32) -> Result<i32>
Object Safety§
This trait is not object safe.