Compartir a través de


GpioController.IsPinModeSupported(Int32, PinMode) Método

Definición

Comprueba si una patilla admite un modo específico.

public bool IsPinModeSupported (int pinNumber, System.Device.Gpio.PinMode mode);
public virtual bool IsPinModeSupported (int pinNumber, System.Device.Gpio.PinMode mode);
member this.IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
abstract member IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
override this.IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
Public Function IsPinModeSupported (pinNumber As Integer, mode As PinMode) As Boolean
Public Overridable Function IsPinModeSupported (pinNumber As Integer, mode As PinMode) As Boolean

Parámetros

pinNumber
Int32

Número de patilla del esquema de numeración del controlador.

mode
PinMode

Modo que se va a comprobar.

Devoluciones

Estado si la patilla admite el modo.

Se aplica a