Share via


IAdcControllerProvider Interface

Definition

Represents properties and methods common to all ADC controllers.

[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
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

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100