rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Typedefs | Functions
console_io.h File Reference

Detailed Description

Date
Dec 29, 2012
Author
Andrey Belomutskiy, (c) 2012-2020

Definition in file console_io.h.

Typedefs

typedef void(* CommandHandler) (char *)
 

Functions

void consoleOutputBuffer (const uint8_t *buf, int size)
 
void startConsole (CommandHandler console_line_callback_p)
 
void onDataArrived (bool valid)
 

Typedef Documentation

◆ CommandHandler

typedef void(* CommandHandler) (char *)

Definition at line 10 of file console_io.h.

Function Documentation

◆ consoleOutputBuffer()

void consoleOutputBuffer ( const uint8_t *  buf,
int  size 
)

◆ onDataArrived()

void onDataArrived ( bool  valid)

Definition at line 49 of file console_io.cpp.

49 {
50 consoleByteArrived = valid;
51}
bool consoleByteArrived

Referenced by TunerstudioThread::ThreadTask().

Here is the caller graph for this function:

◆ startConsole()

void startConsole ( CommandHandler  console_line_callback_p)

Definition at line 55 of file console_io.cpp.

55 {
56 console_line_callback = console_line_callback_p;
57}
CommandHandler console_line_callback

Referenced by initializeConsole().

Here is the caller graph for this function:

Go to the source code of this file.