Mcp23xxx.IsPinModeSupported(Int32, PinMode) Method
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.
Checks if a pin supports a specific mode.
C#
protected override bool IsPinModeSupported (int pinNumber, System.Device.Gpio.PinMode mode);
override this.IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
Protected Overrides Function IsPinModeSupported (pinNumber As Integer, mode As PinMode) As Boolean
- pinNumber
- Int32
The pin number in the driver's logical numbering scheme.
- mode
- PinMode
The mode to check.
The status if the pin supports the mode.
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |