|
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 [] |
| static brain_pin_e | portMap [16] |
| void debugBrainPin | ( | char * | buffer, |
| size_t | size, | ||
| brain_pin_e | brainPin | ||
| ) |
Definition at line 199 of file cypress_pins.cpp.
| int getBrainPinIndex | ( | brain_pin_e | brainPin | ) |
Definition at line 39 of file cypress_pins.cpp.
Referenced by getHwPin().

| unsigned int getBrainPinOnchipNum | ( | void | ) |
Definition at line 195 of file cypress_pins.cpp.
| ioportid_t getBrainPinPort | ( | brain_pin_e | brainPin | ) |
Definition at line 43 of file cypress_pins.cpp.
| ioportid_t * getGpioPorts | ( | ) |
Definition at line 35 of file cypress_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 153 of file cypress_pins.cpp.
| ioportid_t getHwPort | ( | const char * | msg, |
| brain_pin_e | brainPin | ||
| ) |
Definition at line 137 of file cypress_pins.cpp.
|
static |
Definition at line 90 of file cypress_pins.cpp.
Referenced by getPortPinIndex().


| int getPortPinIndex | ( | ioportid_t | port, |
| ioportmask_t | pin | ||
| ) |
Definition at line 132 of file cypress_pins.cpp.
| brain_pin_e parseBrainPin | ( | const char * | str | ) |
Parse string representation of physical pin into brain_pin_e ordinal.
Definition at line 169 of file cypress_pins.cpp.
| const char * portname | ( | ioportid_t | GPIOx | ) |
Definition at line 50 of file cypress_pins.cpp.
|
static |
Definition at line 28 of file cypress_pins.cpp.
Referenced by parseBrainPin().
|
static |
Definition at line 14 of file cypress_pins.cpp.
Referenced by getGpioPorts().