ProviderGpioSharingMode ProviderGpioSharingMode ProviderGpioSharingMode ProviderGpioSharingMode 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 ProviderGpioSharingModepublic enum ProviderGpioSharingModePublic Enum ProviderGpioSharingMode// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows IoT Extension SDK (introduced v10.0.10586.0) Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced v2)

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. Only operations that do not change the state of the pin can be performed.