Partager via


IGpioControllerProvider Interface

Définition

Représente les actions communes à tous les contrôleurs d’E/S à usage général (GPIO).

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
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows IoT Extension SDK (introduit dans 10.0.10586.0)
Windows 10 Anniversary Edition (introduit dans 10.0.14393.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduit dans v2.0)

Propriétés

PinCount

Obtient le nombre de broches d’E/S à usage général (GPIO) disponibles.

Méthodes

OpenPinProvider(Int32, ProviderGpioSharingMode)

Ouvre et retourne le fournisseur de broche d’E/S à usage général (GPIO) pour une broche spécifique.

S’applique à