Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.36 KB

gpiosharingmode.md

File metadata and controls

37 lines (24 loc) · 1.36 KB
-api-id -api-type
T:Windows.Devices.Gpio.GpioSharingMode
winrt enum

GpioSharingMode

-description

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.

-enum-fields

-field Exclusive:0

Opens the GPIO pin exclusively, so that no other connection to the pin can be opened.

-field SharedReadOnly:1

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:

-remarks

-examples

-see-also

GpioController.OpenPin(Int32, GpioSharingMode), GpioController.TryOpenPin