Board.DetermineCurrentPinUsage(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.