PinUsage Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Designated (or active) usage of a pin
public enum PinUsage
type PinUsage =
Public Enum PinUsage
- Inheritance
-
PinUsage
Fields
Name | Value | Description |
---|---|---|
Unknown | -1 | Unknown usage (i.e. for boards where this state is write-only) |
None | 0 | Pin not currently used (or usage unknown) |
Gpio | 1 | Pin used for GPIO (input or output) |
I2c | 2 | Pin used for I2C |
Spi | 3 | Pin used for SPI |
Pwm | 4 | Pin used for PWM (or analog out) |
Uart | 5 | Pin used for RS-232 |
AnalogIn | 6 | Pin used for analog input |
AnalogOut | 7 | Pin used for analog output (Digital-to-Analog converter) |