rusEFI
The most advanced open source ECU
|
Functions | |
void | Rs232Init () |
static blt_bool | Rs232ReceiveByte (blt_int8u *data) |
static void | Rs232TransmitByte (blt_int8u data) |
void | Rs232TransmitPacket (blt_int8u *data, blt_int8u len) |
Transmits a packet formatted for the communication interface. | |
PUBLIC_API_WEAK void | openBltUnexpectedByte (blt_int8u firstByte) |
blt_bool | Rs232ReceivePacket (blt_int8u *data, blt_int8u *len) |
Receives a communication interface packet if one is present. | |
Variables | |
blt_bool | stayInBootloader |
PUBLIC_API_WEAK void openBltUnexpectedByte | ( | blt_int8u | firstByte | ) |
Definition at line 46 of file openblt_usb.cpp.
Referenced by Rs232ReceivePacket().
void Rs232Init | ( | ) |
Definition at line 12 of file openblt_usb.cpp.
Definition at line 128 of file openblt_usb.cpp.
Referenced by Rs232ReceivePacket().
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. |
Definition at line 64 of file openblt_usb.cpp.
|
static |
Definition at line 139 of file openblt_usb.cpp.
Referenced by Rs232TransmitPacket().
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 34 of file openblt_usb.cpp.
|
extern |
Definition at line 17 of file bootloader_main.cpp.
Referenced by main(), and Rs232Init().