Skip to main content

Class DigitalChannelInfoBase

A base implementation of the IDigitalChannelInfo interface.

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

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

Derived:
Meadow.Hardware.CanChannelInfo, Meadow.Hardware.DigitalChannelInfo, Meadow.Hardware.I2cChannelInfo, Meadow.Hardware.PwmChannelInfo, Meadow.Hardware.SpiChannelInfo, Meadow.Hardware.UartChannelInfo

Implements:
Meadow.Hardware.IDigitalChannelInfo, Meadow.Hardware.IChannelInfo

Properties

InputCapable

Gets or sets the channel's digital input capability.

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

OutputCapable

Gets or sets the channel's digital output capability.

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

InterruptCapable

Gets or sets the channel's digital interrupt capability.

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

PullDownCapable

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

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

PullUpCapable

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

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

InverseLogic

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

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

InterruptGroup

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

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

Implements