AdcChannel Class

Definition

Represents a single ADC channel.

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

Windows requirements

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

Properties

Controller

Gets the ADC controller for this channel.

Methods

Close()

Closes the connection on this channel, making it available to be opened by others.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ReadRatio()

Reads the value as a percentage of the max value possible for this controller.

ReadValue()

Reads the digital representation of the analog value from the ADC.

Applies to

See also