Firmware
Public Types | Public Attributes | List of all members
hx_stream Struct Reference

Public Types

enum  {
  TX_IDLE = 0, TX_SEND_START, TX_SEND_DATA, TX_SENT_ESCAPE,
  TX_SEND_END
}
 

Public Attributes

uint8_t rx_buf [HX_STREAM_MAX_FRAME+4]
 
unsigned rx_frame_bytes
 
bool rx_escaped
 
hx_stream_rx_callback rx_callback
 
void * rx_callback_arg
 
int fd
 
bool tx_error
 
const uint8_t * tx_buf
 
unsigned tx_resid
 
uint32_t tx_crc
 
enum hx_stream:: { ... }  tx_state
 
perf_counter_t pc_tx_frames
 
perf_counter_t pc_rx_frames
 
perf_counter_t pc_rx_errors
 

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