|
HALFRED
0.4.0
|
Command Line Interface Console descriptor. More...
Command Line Interface Console descriptor.
#include <hal_cli.h>
Data Fields | |
| IODevice | iodevice |
| IODevice object associated with console. | |
| struct { | |
| uint8_t busy: 1 | |
| bit indicating that the console is busy and unable to receive new charaters | |
| uint8_t multichar: 1 | |
| bit indicating command line mode (1) or key press mode (0: default) | |
| uint8_t doublechar: 1 | |
| } | state |
| console state and work mode | |
| void(* | command_processor )(CLIConsole clic) |
| external command processor handle | |
| char | buf [CLI_COMMAND_BUF_SIZE] |
| command buffer | |
| size_t | cnt |
| command buffer counter | |
| size_t | offset |
| command analyzer progress offset | |
| int | cols |
| console size: number of columns | |
| int | rows |
| console size: number of rows | |
1.8.7