LibGpiodDriver.IsPinModeSupported(Int32, PinMode) Method

Definition

Checks if a pin supports a specific mode.

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

Parameters

pinNumber
Int32

The pin number in the driver's logical numbering scheme.

mode
PinMode

The mode to check.

Returns

Boolean

The status if the pin supports the mode.

Applies to