GpioOpenStatus
GpioOpenStatus
GpioOpenStatus
GpioOpenStatus
Enum
Definition
Describes the possible results of opening a pin with the GpioPin.TryOpenPin method.
public : enum class GpioOpenStatuspublic enum GpioOpenStatusPublic Enum GpioOpenStatus// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows IoT Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Devices.DevicesLowLevelContract (introduced v1)
|
Fields
| MuxingConflict MuxingConflict MuxingConflict MuxingConflict | The pin is currently opened for a different function, such as I2c, Spi, or UART. Ensure the pin is not in use by another function. |
| PinOpened PinOpened PinOpened PinOpened | The GPIO pin was successfully opened. |
| PinUnavailable PinUnavailable PinUnavailable PinUnavailable | The pin is reserved by the system and is not available to apps that run in user mode. |
| SharingViolation SharingViolation SharingViolation SharingViolation | The pin is currently open in an incompatible sharing mode. For example:
|
| UnknownError UnknownError UnknownError UnknownError | The pin could not be opened. |