GpioSharingMode
GpioSharingMode
GpioSharingMode
GpioSharingMode
Enum
Definition
Describes the modes in which you can open a general-purpose I/O (GPIO) pin. These modes determine whether other connections to the GPIO pin can be opened while you have the pin open.
public : enum class GpioSharingModepublic enum GpioSharingModePublic Enum GpioSharingMode// 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
| Exclusive Exclusive Exclusive Exclusive | Opens the GPIO pin exclusively, so that no other connection to the pin can be opened. |
| SharedReadOnly SharedReadOnly SharedReadOnly SharedReadOnly | Opens the GPIO pin as shared, so that other connections in SharedReadOnly mode to the pin can be opened. You can only perform operations that do not change the state of the GPIO pin in shared mode. Operations that you can perform on the GPIO pin in shared mode include:
|