|
rusEFI
The most advanced open source ECU
|
Functions | |
| ioportid_t * | getGpioPorts () |
| int | getBrainPinIndex (brain_pin_e brainPin) |
| ioportid_t | getBrainPinPort (brain_pin_e brainPin) |
| const char * | portname (ioportid_t GPIOx) |
| static int | getPortIndex (ioportid_t port) |
| int | getPortPinIndex (ioportid_t port, ioportmask_t pin) |
| ioportid_t | getHwPort (const char *msg, brain_pin_e brainPin) |
| ioportmask_t | getHwPin (const char *msg, brain_pin_e brainPin) |
| brain_pin_e | parseBrainPin (const char *str) |
| unsigned int | getBrainPinOnchipNum (void) |
| void | debugBrainPin (char *buffer, size_t, brain_pin_e) |
Variables | |
| static ioportid_t | ports [] |
| void debugBrainPin | ( | char * | buffer, |
| size_t | size, | ||
| brain_pin_e | brainPin | ||
| ) |
Definition at line 180 of file kinetis_pins.cpp.
| int getBrainPinIndex | ( | brain_pin_e | brainPin | ) |
Definition at line 25 of file kinetis_pins.cpp.
Referenced by getHwPin().

| unsigned int getBrainPinOnchipNum | ( | void | ) |
Definition at line 176 of file kinetis_pins.cpp.
| ioportid_t getBrainPinPort | ( | brain_pin_e | brainPin | ) |
| ioportid_t * getGpioPorts | ( | ) |
Definition at line 21 of file kinetis_pins.cpp.
Referenced by getBrainPinPort(), and getHwPort().

| ioportmask_t getHwPin | ( | const char * | msg, |
| brain_pin_e | brainPin | ||
| ) |
this method returns the numeric part of pin name. For instance, for PC13 this would return '13'
Definition at line 139 of file kinetis_pins.cpp.

| ioportid_t getHwPort | ( | const char * | msg, |
| brain_pin_e | brainPin | ||
| ) |
Definition at line 123 of file kinetis_pins.cpp.

|
static |
Definition at line 76 of file kinetis_pins.cpp.
Referenced by getPortPinIndex().


| int getPortPinIndex | ( | ioportid_t | port, |
| ioportmask_t | pin | ||
| ) |
Definition at line 118 of file kinetis_pins.cpp.

| brain_pin_e parseBrainPin | ( | const char * | str | ) |
Parse string representation of physical pin into Gpio ordinal.
Definition at line 155 of file kinetis_pins.cpp.
| const char * portname | ( | ioportid_t | GPIOx | ) |
Definition at line 36 of file kinetis_pins.cpp.
|
static |
Definition at line 14 of file kinetis_pins.cpp.
Referenced by getGpioPorts().