EVE 1.0
uart_state_t Struct Reference

#include <uart.h>

Collaboration diagram for uart_state_t:

Data Fields

const struct uart_tUart
 Backpointer to the static configuration.
 
uint32_t Baudrate
 Current baudrate in bit/s.
 
uint32_t RxStartTimeoutUs
 Current value for the max time the driver waits for the first symbol in a message.
 
uint32_t RxStopTimeoutUs
 Current value for the max time the driver waits for the next symbol in a message.
 
struct data_buffer_t RxBuffer [2]
 Receive buffer for asynchronous transfers.
 
uart_rx_callback_t RxCallback
 RX completion callback.
 
void * RxCallbackData
 Data for the RX completion callback.
 
uint8_t RxBufIndex
 Index of the active RX buffer.
 
uint8_t RxStop
 Amount of RX buffers in the pipeline.
 
uint8_t RxCancelled
 RX is cancelled.
 
struct data_buffer_t TxBuffer [2]
 Transmit buffer for asynchronous transfers.
 
uart_tx_callback_t TxCallback
 TX completion callback.
 
void * TxCallbackData
 Data for the TX completion callback.
 
uint8_t TxBufIndex
 Index of the active TX buffer.
 
uint8_t TxStop
 Amount of TX buffers in the pipeline.
 
uart_break_callback_t BreakCallback
 Send Break completion callback.
 
void * BreakCallbackData
 Data for the Break send completion callback.
 
struct uwork_t SendBreakWork
 timeout counter for Send Break
 

Detailed Description

UART driver run-time state

Definition at line 173 of file uart.h.