rusEFI
The most advanced open source ECU
|
Functions | |
size_t | readWhileGives (ByteSource source, uint8_t *buffer, size_t bufferSize) |
static void | handleHonda (uint8_t *bufferIn) |
static | THD_WORKING_AREA (klThreadStack, UTILITY_THREAD_STACK_SIZE) |
void | kLineThread (void *) |
void | startKLine () |
void | stopKLine () |
void | initKLine () |
Variables | |
static uint8_t | kvalues [8] |
bool | kAcRequestState |
static SerialDriver *const | klDriver = &KLINE_SERIAL_DEVICE |
static int | totalBytes = 0 |
|
static |
Definition at line 33 of file kline.cpp.
Referenced by kLineThread().
void initKLine | ( | ) |
Definition at line 198 of file kline.cpp.
Referenced by initHardware().
void kLineThread | ( | void * | ) |
under the hood there is SERIAL_BUFFERS_SIZE which we hope to help us
Definition at line 50 of file kline.cpp.
Referenced by initKLine().
size_t readWhileGives | ( | ByteSource | source, |
uint8_t * | buffer, | ||
size_t | bufferSize | ||
) |
this file is mostly about SEFMJ early 2000s specific honda K-line protocol https://rusefi.com/forum/viewtopic.php?f=4&t=2514
Definition at line 11 of file kline.cpp.
Referenced by kLineThread().
void startKLine | ( | ) |
Definition at line 157 of file kline.cpp.
Referenced by applyNewHardwareSettings(), and initKLine().
void stopKLine | ( | ) |
Definition at line 184 of file kline.cpp.
Referenced by applyNewHardwareSettings().
|
static |
bool kAcRequestState |
Definition at line 31 of file kline.cpp.
Referenced by handleHonda(), and Engine::updateSwitchInputs().
|
static |
Definition at line 45 of file kline.cpp.
Referenced by kLineThread(), startKLine(), and stopKLine().
|
static |
Definition at line 26 of file kline.cpp.
Referenced by initKLine(), and kLineThread().
|
static |
Definition at line 48 of file kline.cpp.
Referenced by initKLine(), kLineThread(), and readWhileGives().