Lines Matching +full:conversion +full:- +full:rate
5 * SPDX-License-Identifier: Apache-2.0
31 * @brief Lookup table for mapping the baud rate to the macro understood by termios.
50 * - Not canonical (no line input) in native_tty_termios_defaults_set()
51 * - No signal generation from Ctr+{C|Z..} in native_tty_termios_defaults_set()
52 * - No echoing in native_tty_termios_defaults_set()
54 ter->c_lflag &= ~(ICANON | ISIG | ECHO); in native_tty_termios_defaults_set()
57 * No conversion of newline to carriage return/line feed. in native_tty_termios_defaults_set()
59 ter->c_oflag &= ~(OPOST | ONLCR); in native_tty_termios_defaults_set()
62 ter->c_iflag &= ~(IXON | IXOFF | IXANY); in native_tty_termios_defaults_set()
65 ter->c_cc[VMIN] = 0; in native_tty_termios_defaults_set()
66 ter->c_cc[VTIME] = 0; in native_tty_termios_defaults_set()
69 ter->c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL); in native_tty_termios_defaults_set()
71 /* - Enable reading data and ignore control lines */ in native_tty_termios_defaults_set()
72 ter->c_cflag |= CREAD | CLOCAL; in native_tty_termios_defaults_set()
76 * @brief Set the baud rate speed in the termios structure
104 ter->c_cflag &= ~PARENB; in native_tty_baud_parity_set()
107 ter->c_cflag |= PARENB; in native_tty_baud_parity_set()
108 ter->c_cflag |= PARODD; in native_tty_baud_parity_set()
111 ter->c_cflag |= PARENB; in native_tty_baud_parity_set()
112 ter->c_cflag &= ~PARODD; in native_tty_baud_parity_set()
132 ter->c_cflag &= ~CSTOPB; in native_tty_stop_bits_set()
135 ter->c_cflag |= CSTOPB; in native_tty_stop_bits_set()
174 ter->c_cflag &= ~CSIZE; in native_tty_data_bits_set()
175 ter->c_cflag |= data_bits_to_set; in native_tty_data_bits_set()
211 native_tty_baud_speed_set(&ter, cfg->baudrate); in native_tty_configure_bottom()
212 native_tty_baud_parity_set(&ter, cfg->parity); in native_tty_configure_bottom()
213 native_tty_stop_bits_set(&ter, cfg->stop_bits); in native_tty_configure_bottom()
214 native_tty_data_bits_set(&ter, cfg->data_bits); in native_tty_configure_bottom()
216 cfg->flow_ctrl = NTB_FLOW_CTRL_NONE; in native_tty_configure_bottom()
243 return -1; in native_tty_configure_bottom()