C# Class Glovebox.IoT.Devices.Converters.MCP3002

Inheritance: IAdcControllerProvider, IDisposable
Exibir arquivo Open project: gloveboxes/Windows-IoT-Core-Driver-Library Class Usage Examples

Public Methods

Method Description
AcquireChannel ( int channel ) : void
Dispose ( ) : void
IsChannelModeSupported ( ProviderAdcChannelMode channelMode ) : bool
ReadValue ( int channelNumber ) : int
ReleaseChannel ( int channel ) : void

Private Methods

Method Description
EnsureInitializedAsync ( ) : System.Threading.Tasks.Task

Method Details

AcquireChannel() public method

public AcquireChannel ( int channel ) : void
channel int
return void

Dispose() public method

public Dispose ( ) : void
return void

IsChannelModeSupported() public method

public IsChannelModeSupported ( ProviderAdcChannelMode channelMode ) : bool
channelMode ProviderAdcChannelMode
return bool

ReadValue() public method

public ReadValue ( int channelNumber ) : int
channelNumber int
return int

ReleaseChannel() public method

public ReleaseChannel ( int channel ) : void
channel int
return void