Share via


IGpioControllerProvider Schnittstelle

Definition

Stellt die Aktionen dar, die allen GPIO-Controllern (General Purpose E/O) gemeinsam sind.

public interface class IGpioControllerProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(2903625415, 6634, 19233, 135, 79, 185, 26, 237, 74, 37, 219)]
struct IGpioControllerProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
[Windows.Foundation.Metadata.Guid(2903625415, 6634, 19233, 135, 79, 185, 26, 237, 74, 37, 219)]
public interface IGpioControllerProvider
Public Interface IGpioControllerProvider
Attribute

Windows-Anforderungen

Gerätefamilie
Windows IoT Extension SDK (eingeführt in 10.0.10586.0)
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Devices.DevicesLowLevelContract (eingeführt in v2.0)

Eigenschaften

PinCount

Ruft die Anzahl der verfügbaren GPIO-Pins (General Purpose E/O) ab.

Methoden

OpenPinProvider(Int32, ProviderGpioSharingMode)

Öffnet und gibt den GPIO-Pinanbieter (General Purpose E/O) für einen bestimmten Pin zurück.

Gilt für: