Share via


IAdcControllerProvider Interface

Definition

Represents properties and methods common to all ADC controllers.

public interface class IAdcControllerProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3193198632, 33133, 19941, 160, 72, 171, 160, 105, 88, 170, 168)]
struct IAdcControllerProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
[Windows.Foundation.Metadata.Guid(3193198632, 33133, 19941, 160, 72, 171, 160, 105, 88, 170, 168)]
public interface IAdcControllerProvider
Public Interface IAdcControllerProvider
Attributes

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v1.0)

Properties

ChannelCount

Gets the number of channels available on for the controller.

ChannelMode

Gets or sets the controller channel mode.

MaxValue

Gets the maximum value that the controller can return.

MinValue

Gets the minimum value that the controller can return.

ResolutionInBits

Gets the resolution of the controller as number of bits it has.

Methods

AcquireChannel(Int32)

Acquires a connection to the specified channel.

IsChannelModeSupported(ProviderAdcChannelMode)

Determines if the specified channel mode is supported by the controller.

ReadValue(Int32)

Gets the digital representation of the analog value on the specified channel.

ReleaseChannel(Int32)

Releases the channel connection, opening that channel for others to use.

Applies to