Skip to main content

Interface IDigitalChannelInfo

Contract for a GPIO channel that supports digital communications.

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

Properties

InputCapable

Whether or not the channel is capable of reading input.

View Source
Declaration
bool InputCapable { get; }

OutputCapable

Whether or not the channel is capable of writing outputs.

View Source
Declaration
bool OutputCapable { get; }

InterruptCapable

Whether or not the channel is capable of receiving interrupts.

View Source
Declaration
bool InterruptCapable { get; }

PullDownCapable

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

View Source
Declaration
bool PullDownCapable { get; }

PullUpCapable

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

View Source
Declaration
bool PullUpCapable { get; }

InverseLogic

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

View Source
Declaration
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
Declaration
int? InterruptGroup { get; }