rusEFI
The most advanced open source ECU
|
CAN bus low level code.
todo: this file should be split into two - one for CAN transport level ONLY and another one with actual messages
Definition in file can_hw.cpp.
Functions | |
const CANConfig * | findCanConfig (can_baudrate_e rate) |
static CCM_OPTIONAL CanRead | canRead1 (0) |
static CCM_OPTIONAL CanRead | canRead2 (1) |
static void | canInfo () |
void | setCanType (int type) |
void | stopCanPins () |
void | startCanPins () |
static void | applyListenOnly (CANConfig *canConfig, bool isListenOnly) |
void | initCan () |
bool | getIsCanEnabled (void) |
Variables | |
static bool | isCanEnabled = false |
static const CANConfig | canConfig_dummy |
static CanWrite canWrite | CCM_OPTIONAL |
|
static |
Definition at line 156 of file can_hw.cpp.
Referenced by initCan().
|
static |
Definition at line 85 of file can_hw.cpp.
Referenced by initCan(), and setCanType().
|
static |
|
static |
|
extern |
Definition at line 36 of file can_hw.cpp.
Referenced by initCan().
bool getIsCanEnabled | ( | void | ) |
Definition at line 223 of file can_hw.cpp.
void initCan | ( | ) |
Definition at line 166 of file can_hw.cpp.
Referenced by initHardware().
void setCanType | ( | int | type | ) |
Definition at line 109 of file can_hw.cpp.
void startCanPins | ( | ) |
Definition at line 122 of file can_hw.cpp.
Referenced by startHardware().
void stopCanPins | ( | ) |
Definition at line 114 of file can_hw.cpp.
Referenced by applyNewHardwareSettings().
|
static |
Definition at line 34 of file can_hw.cpp.
Referenced by findCanConfig().
|
static |
Definition at line 83 of file can_hw.cpp.
|
static |
Definition at line 25 of file can_hw.cpp.
Referenced by canInfo(), getIsCanEnabled(), initCan(), and startCanPins().