RockchipDriver.MapPinNumber(Int32, Char, 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.
Map pin number with port name to pin number in the driver's logical numbering scheme.
public static int MapPinNumber(int gpioNumber, char port, int portNumber);
static member MapPinNumber : int * char * int -> int
Public Shared Function MapPinNumber (gpioNumber As Integer, port As Char, portNumber As Integer) As Integer
Parameters
- gpioNumber
- Int32
Number of GPIOs.
- port
- Char
Port name, from 'A' to 'D'.
- portNumber
- Int32
Number of pins.
Returns
Pin number in the driver's logical numbering scheme.