rusEFI
The most advanced open source ECU
|
Functions | |
const CANConfig * | findCanConfig (can_baudrate_e rate) |
void | CanInit (void) |
Initializes the CAN controller and synchronizes it to the CAN bus. | |
void | CanTransmitPacket (blt_int8u *data, blt_int8u len) |
Transmits a packet formatted for the communication interface. | |
void | boardCanListener (CANRxFrame *frame) |
Receives a communication interface packet if one is present. | |
blt_bool | CanReceivePacket (blt_int8u *data, blt_int8u *len) |
|
extern |
Receives a communication interface packet if one is present.
data | Pointer to byte array where the data is to be stored. |
len | Pointer where the length of the packet is to be stored. |
Referenced by CanReceivePacket().
void CanInit | ( | void | ) |
Initializes the CAN controller and synchronizes it to the CAN bus.
Definition at line 59 of file openblt_can.cpp.
Definition at line 114 of file openblt_can.cpp.
Transmits a packet formatted for the communication interface.
data | Pointer to byte array with data that it to be transmitted. |
len | Number of bytes that are to be transmitted. |
Definition at line 76 of file openblt_can.cpp.
|
extern |
Definition at line 36 of file can_hw.cpp.
Referenced by CanInit(), and initCan().