Skip to main content

Class DigitalChannelInfoBase

A base implementation of the IDigitalChannelInfo interface.

Assembly: Meadow.Contracts.dll
View Source
Declaration
public class DigitalChannelInfoBase : ChannelInfoBase, IDigitalChannelInfo, IChannelInfo

Inheritance: System.Object -> Meadow.Hardware.ChannelInfoBase

Derived:
Meadow.Hardware.CanChannelInfo

Implements:
Meadow.Hardware.IDigitalChannelInfo

Properties

InputCapable

Gets or sets the channel's digital input capability.

View Source
Declaration
public bool InputCapable { get; protected set; }

OutputCapable

Gets or sets the channel's digital output capability.

View Source
Declaration
public bool OutputCapable { get; protected set; }

InterruptCapable

Gets or sets the channel's digital interrupt capability.

View Source
Declaration
public bool InterruptCapable { get; protected set; }

PullDownCapable

Gets or sets the channel's internal pull-down resistor capability.

View Source
Declaration
public bool PullDownCapable { get; protected set; }

PullUpCapable

Gets or sets the channel's internal pull-up resistor capability.

View Source
Declaration
public bool PullUpCapable { get; protected set; }

InverseLogic

Gets or sets whether the channel has inverse boolean logic (low == true).

View Source
Declaration
public bool InverseLogic { get; protected set; }

InterruptGroup

When relevant, gets or sets any platform interrupt group association for the channel.

View Source
Declaration
public int? InterruptGroup { get; protected set; }

Implements