rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
page_console_t Struct Reference

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]

Detailed Description

The console state: the command line being read, the output buffer, the staged HITEC registers and the work space of the requests.

Field Documentation

◆ dropped

uint32_t page_console_t::dropped

bytes dropped from the output ring

◆ head

uint16_t page_console_t::head

the next byte to take

◆ out

char page_console_t::out[PAGE_CONSOLE_OUT_MAX]

the output ring

◆ overlong

uint8_t page_console_t::overlong

the line ran past PAGE_CONSOLE_LINE_MAX

◆ staged

uint16_t page_console_t::staged[LINK_HT_W_STAGED]

the registers staged for the HITEC page

◆ used

uint16_t page_console_t::used

bytes in the ring

◆ watch

uint8_t page_console_t::watch

a HITEC operation runs: report its end


The documentation for this struct was generated from the following file: