Skip to main content

Enum ChannelConfigurationType

TODO: revisit this structure. Ultimately, it would be nice to know, specifically what a channel is configured for, i.e. DigitalInput, I2C TX, UART RX, etc.

Assembly: Meadow.Contracts.dll
View Source
Declaration
public enum ChannelConfigurationType

Fields

None

Not configured

View Source
Declaration
None = 0

DigitalOutput

Configured as a digital output

View Source
Declaration
DigitalOutput = 1

DigitalInput

Configured as a digital input

View Source
Declaration
DigitalInput = 2

AnalogOutput

Configured as an analog output

View Source
Declaration
AnalogOutput = 3

AnalogInput

Configured as an analog input

View Source
Declaration
AnalogInput = 4

PWM

Configured for pulse width modulation (PWM)

View Source
Declaration
PWM = 5

SPI

Configured for serial peripheral interface (SPI) communication

View Source
Declaration
SPI = 6

I2C

Configured for inter-integrated circuit (I2C) communication

View Source
Declaration
I2C = 7

CAN

Configured for controller area network (CAN) communication

View Source
Declaration
CAN = 8

UART

Configured for UART communication

View Source
Declaration
UART = 9