Edit

Share via


GpioController.IsPinModeSupported(Int32, PinMode) Method

Definition

Checks if a pin supports a specific mode.

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

Parameters

pinNumber
Int32

The pin number in the controller's numbering scheme.

mode
PinMode

The mode to check.

Returns

The status if the pin supports the mode.

Applies to