Jaa


AdcController Class

Definition

Represents an ADC controller on the system

public ref class AdcController sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AdcController final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AdcController
Public NotInheritable Class AdcController
Inheritance
Object Platform::Object IInspectable AdcController
Attributes

Windows requirements

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

Remarks

Version history

Windows version SDK version Value added
1511 10586 GetDefaultAsync

Properties

ChannelCount

The number of channels available on the ADC controller.

ChannelMode

Gets or sets the channel mode for the ADC controller.

MaxValue

Gets the maximum value that the controller can report.

MinValue

The minimum value the controller can report.

ResolutionInBits

Gets the resolution of the controller as number of bits it has. For example, if we have a 10-bit ADC, that means it can detect 1024 (2^10) discrete levels.

Methods

GetControllersAsync(IAdcProvider)

Gets all the controllers that are connected to the system asynchronously .

GetDefaultAsync()

Gets the default ADC controller on the system.

IsChannelModeSupported(AdcChannelMode)

Verifies that the specified channel mode is supported by the controller.

OpenChannel(Int32)

Opens a connection to the specified ADC channel.

Applies to