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
AnalogIn | 6 | Pin used for analog input |
AnalogOut | 7 | Pin used for analog output (Digital-to-Analog converter) |
Gpio | 1 | Pin used for GPIO (input or output) |
I2c | 2 | Pin used for I2C |
None | 0 | Pin not currently used (or usage unknown) |
Pwm | 4 | Pin used for PWM (or analog out) |
Spi | 3 | Pin used for SPI |
Uart | 5 | Pin used for RS-232 |
Unknown | -1 | Unknown usage (i.e. for boards where this state is write-only) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for