Edit

Share via


Board.DetermineCurrentPinUsage(Int32) Method

Definition

Returns the current usage of a pin

public virtual Iot.Device.Board.PinUsage DetermineCurrentPinUsage (int pinNumber);
abstract member DetermineCurrentPinUsage : int -> Iot.Device.Board.PinUsage
override this.DetermineCurrentPinUsage : int -> Iot.Device.Board.PinUsage
Public Overridable Function DetermineCurrentPinUsage (pinNumber As Integer) As PinUsage

Parameters

pinNumber
Int32

Pin number in the current numbering scheme

Returns

The current usage of a pin

Remarks

Note for implementations: An implementation of this method shall try to query the hardware if the cache reports Unknown.

Applies to