Xenomai API  2.6.5
rtser_config Struct Reference

Serial device configuration. More...

Data Fields

int config_mask
 mask specifying valid fields, see RTSER_SET_xxx
 
int baud_rate
 baud rate, default RTSER_DEF_BAUD
 
int parity
 number of parity bits, see RTSER_xxx_PARITY
 
int data_bits
 number of data bits, see RTSER_xxx_BITS
 
int stop_bits
 number of stop bits, see RTSER_xxx_STOPB
 
int handshake
 handshake mechanisms, see RTSER_xxx_HAND
 
int fifo_depth
 reception FIFO interrupt threshold, see RTSER_FIFO_xxx
 
nanosecs_rel_t rx_timeout
 reception timeout, see RTSER_TIMEOUT_xxx for special values
 
nanosecs_rel_t tx_timeout
 transmission timeout, see RTSER_TIMEOUT_xxx for special values
 
nanosecs_rel_t event_timeout
 event timeout, see RTSER_TIMEOUT_xxx for special values
 
int timestamp_history
 enable timestamp history, see RTSER_xxx_TIMESTAMP_HISTORY
 
int event_mask
 event mask to be used with RTSER_RTIOC_WAIT_EVENT, see RTSER_EVENT_xxx
 
int rs485
 enable RS485 mode, see RTSER_RS485_xxx
 

Detailed Description

Serial device configuration.

Examples:
cross-link.c.

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