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
public enum ChannelConfigurationType

Fields

None

Not configured

View Source
None = 0

DigitalOutput

Configured as a digital output

View Source
DigitalOutput = 1

DigitalInput

Configured as a digital input

View Source
DigitalInput = 2

AnalogOutput

Configured as an analog output

View Source
AnalogOutput = 3

AnalogInput

Configured as an analog input

View Source
AnalogInput = 4

PWM

Configured for pulse width modulation (PWM)

View Source
PWM = 5

SPI

Configured for serial peripheral interface (SPI) communication

View Source
SPI = 6

I2C

Configured for inter-integrated circuit (I2C) communication

View Source
I2C = 7

CAN

Configured for controller area network (CAN) communication

View Source
CAN = 8

UART

Configured for UART communication

View Source
UART = 9