RaspberryPi3Driver.IsPinModeSupported(Int32, PinMode) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Vérifie si une broche prend en charge un mode spécifique.
protected internal override bool IsPinModeSupported(int pinNumber, System.Device.Gpio.PinMode mode);
override this.IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
Protected Friend Overrides Function IsPinModeSupported (pinNumber As Integer, mode As PinMode) As Boolean
Paramètres
- pinNumber
- Int32
Numéro de broche dans le schéma de numérotation logique du pilote.
- mode
- PinMode
Mode à vérifier.
Retours
État si l’épingle prend en charge le mode.