49 uint32_t _dont_modify_speed :1;
66 uint32_t _nl_delay :1;
67 uint32_t _cr_delay :2;
68 uint32_t _tab_delay :2;
69 uint32_t _backspace_delay :1;
70 uint32_t vertical_tab_delay :1;
71 uint32_t _formfeed_delay :1;
84 uint32_t _speed_4lsb :4;
95 uint32_t _speed_is_extra :1;
109 uint32_t _uppercase_only :1;
111 uint32_t echo_erasure :1;
112 uint32_t echo_kill :1;
114 uint32_t disable_flush :1;
117 uint32_t _echo_control :1;
118 uint32_t _echo_print :1;
120 uint32_t enable_processing :1;
176 uint8_t line_discipline;
character_size
Possible values of serial_control_modes::character_size.
@ character_size_6
rarely used
@ character_size_5
for Baudot code
@ character_size_7
for true ASCII
@ character_size_8
for most kinds of data
Verbose alternative to termios.c_cflag.
uint32_t enable_parity
Enable parity generation on output and parity checking for input.
uint32_t hang_up
Lower modem control lines after last process closes the device (hang up).
uint32_t is_local
Ignore modem control lines.
uint32_t two_stop_bits
Set two stop bits, rather than one.
uint32_t read
Enable receiver.
uint32_t character_size
Number of bits used by a single character.
uint32_t odd_parity
If set, then parity for input and output is odd; otherwise even parity is used.
Verbose alternative to termios.c_lflag.
uint32_t enable_signals
Generate a signal when INTR, QUIT, SUSP, or DSUSP are received.
uint32_t canonical
Enable canonical mode.
uint32_t tostop
Send SIGTOU to background jobs attempting to write to the terminal.
Verbose alternative to termios.c_oflag.
uint32_t map_nl_to_crnl
Map \n to \r\n on output.
uint32_t map_cr_to_nl
Map \r to \n on output.
uint32_t map_lower_to_upper
Map lowercase characters to lowercase on output.
uint32_t no_cr
No \r output at colum 0.
uint32_t use_fill
Use fill characters for delay.
uint32_t nl_returns
\n performs \r function
uint32_t fill_is_del
Fill is DEL
uint32_t enable_processing
Post-process output.
Terminal special characters.
uint8_t quit
Send a SIGQUIT signal.
uint8_t interrupt
Send a SIGINT signal.
uint8_t array[NCCS]
Standard array.
uint8_t timeout
Timeout in deciseconds for noncanonical read.
uint8_t minimum
Minimum number of characters for noncanonical read.
Holds a struct termios that can be modified using the verbose alternatives.
struct termios termios
Standard structure.
uint32_t input_speed
Input line speed, see Line speed.
struct serial_output_modes output
Output mode flags.
struct serial_control_modes control
Control mode flags.
union serial_control_characters control_characters
Terminal special characters.
uint32_t output_speed
Output line speed, see Line speed.
struct serial_input_modes input
Input mode flags.
struct serial_local_modes local
Local mode flags.