|
rusEFI
The most advanced open source ECU
|
Functions | |
| void | initPotentiometer (Mcp42010Driver *driver, SPIDriver *spi, brain_pin_e csPin) |
| static int | getPotStep (int resistanceWA) |
| static void | sendToPot (Mcp42010Driver *driver, int channel, int value) |
| void | setPotResistance (Mcp42010Driver *driver, int channel, int resistance) |
| static void | setPotResistanceCommand (int index, int value) |
| static void | setPotValue1 (int value) |
| void | initPotentiometers () |
Variables | |
| static Mcp42010Driver | potConfig [DIGIPOT_COUNT] |
|
static |
Definition at line 58 of file poten.cpp.
Referenced by setPotResistance().

| void initPotentiometer | ( | Mcp42010Driver * | driver, |
| SPIDriver * | spi, | ||
| brain_pin_e | csPin | ||
| ) |
Definition at line 52 of file poten.cpp.
Referenced by initPotentiometers().


| void initPotentiometers | ( | ) |
Definition at line 90 of file poten.cpp.
Referenced by initEngineEmulator().


|
static |
Definition at line 62 of file poten.cpp.
Referenced by setPotResistance(), and setPotValue1().


| void setPotResistance | ( | Mcp42010Driver * | driver, |
| int | channel, | ||
| int | resistance | ||
| ) |
Definition at line 73 of file poten.cpp.
Referenced by initPotentiometers(), and setPotResistanceCommand().


|
static |
Definition at line 80 of file poten.cpp.
Referenced by initPotentiometers().


|
static |
Definition at line 84 of file poten.cpp.
Referenced by initPotentiometers().


|
static |
Definition at line 50 of file poten.cpp.
Referenced by initPotentiometers(), setPotResistanceCommand(), and setPotValue1().