AdcChannel AdcChannel AdcChannel AdcChannel AdcChannel Class

Definition

Represents a single ADC channel.

public : sealed class AdcChannel : IClosable
struct winrt::Windows::Devices::Adc::AdcChannel : IClosable
public sealed class AdcChannel : IDisposable
Public NotInheritable Class AdcChannel Implements IDisposable
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows IoT Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced v1)

Properties

Controller Controller Controller Controller Controller

Gets the ADC controller for this channel.

Methods

Close() Close() Close() Close() Close()

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

Dispose() Dispose() Dispose() Dispose() Dispose()

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

ReadRatio() ReadRatio() ReadRatio() ReadRatio() ReadRatio()

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

ReadValue() ReadValue() ReadValue() ReadValue() ReadValue()

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

See also