Xenomai  3.3
rtser_config Struct Reference

Serial device configuration. More...

Data Fields

__s32 config_mask
 mask specifying valid fields, see RTSER_SET_xxx
 
__s32 baud_rate
 baud rate, default RTSER_DEF_BAUD
 
__s32 parity
 number of parity bits, see RTSER_xxx_PARITY
 
__s32 data_bits
 number of data bits, see RTSER_xxx_BITS
 
__s32 stop_bits
 number of stop bits, see RTSER_xxx_STOPB
 
__s32 handshake
 handshake mechanisms, see RTSER_xxx_HAND
 
__s32 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
 
__s32 timestamp_history
 enable timestamp history, see RTSER_xxx_TIMESTAMP_HISTORY
 
__s32 event_mask
 event mask to be used with RTSER_RTIOC_WAIT_EVENT, see RTSER_EVENT_xxx
 
__s32 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: