IGpioControllerProvider.OpenPinProvider Method
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.
Opens and returns the general-purpose I/O (GPIO) pin provider for a specific pin.
public:
IGpioPinProvider ^ OpenPinProvider(int pin, ProviderGpioSharingMode sharingMode);
IGpioPinProvider OpenPinProvider(int const& pin, ProviderGpioSharingMode const& sharingMode);
public IGpioPinProvider OpenPinProvider(int pin, ProviderGpioSharingMode sharingMode);
function openPinProvider(pin, sharingMode)
Public Function OpenPinProvider (pin As Integer, sharingMode As ProviderGpioSharingMode) As IGpioPinProvider
Parameters
- pin
-
Int32
int
The desired GPIO pin number.
- sharingMode
- ProviderGpioSharingMode
The sharing mode to open the pin as.
Returns
The GPIO pin provider for the specified pin.