|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The console state: the command line being read, the output buffer, the staged HITEC registers and the work space of the requests. More...
#include <page_console.h>
Data Fields | |
| const link_dev_t * | dev |
| char | line [PAGE_CONSOLE_LINE_MAX+1u] |
| uint16_t | len |
| uint8_t | overlong |
| char | out [PAGE_CONSOLE_OUT_MAX] |
| uint16_t | head |
| uint16_t | used |
| uint32_t | dropped |
| uint16_t | staged [LINK_HT_W_STAGED] |
| uint8_t | watch |
| char | fmt [PAGE_CONSOLE_OUT_LINE] |
| link_msg_t | req |
| link_msg_t | reply |
| uint16_t | regs [LINK_HT_COUNT] |
| uint16_t | data [3][16] |
The console state: the command line being read, the output buffer, the staged HITEC registers and the work space of the requests.
| uint32_t page_console_t::dropped |
bytes dropped from the output ring
| uint16_t page_console_t::head |
the next byte to take
| char page_console_t::out[PAGE_CONSOLE_OUT_MAX] |
the output ring
| uint8_t page_console_t::overlong |
the line ran past PAGE_CONSOLE_LINE_MAX
| uint16_t page_console_t::staged[LINK_HT_W_STAGED] |
the registers staged for the HITEC page
| uint16_t page_console_t::used |
bytes in the ring
| uint8_t page_console_t::watch |
a HITEC operation runs: report its end