Skip to main content

Interface IDigitalChannelInfo

Contract for a GPIO channel that supports digital communications.

Assembly: Meadow.Contracts.dll
View Source
public interface IDigitalChannelInfo : IChannelInfo

Properties

InputCapable

Whether or not the channel is capable of reading input.

View Source
bool InputCapable { get; }

OutputCapable

Whether or not the channel is capable of writing outputs.

View Source
bool OutputCapable { get; }

InterruptCapable

Whether or not the channel is capable of receiving interrupts.

View Source
bool InterruptCapable { get; }

PullDownCapable

Whether or not the channel is capable of internal pull-down resistors.

View Source
bool PullDownCapable { get; }

PullUpCapable

Whether or not the channel is capable of internal pull-up resistors.

View Source
bool PullUpCapable { get; }

InverseLogic

Whether or not the channel uses high-voltage as logic high or low.

View Source
bool InverseLogic { get; }

InterruptGroup

If the channel is interrupt capable and is grouped (i.e. only one channel per group is allowed) this will be non-zero.

View Source
int? InterruptGroup { get; }