/Zephyr-latest/tests/drivers/uart/uart_elementary/src/ |
D | main.c | 142 .stop_bits = UART_CFG_STOP_BITS_1, in ZTEST() 160 zassert_equal(test_uart_config.stop_bits, test_expected_uart_config.stop_bits, in ZTEST() 162 test_uart_config.stop_bits, test_expected_uart_config.stop_bits); in ZTEST() 183 .stop_bits = UART_CFG_STOP_BITS_1, in ZTEST() 203 .stop_bits = UART_CFG_STOP_BITS_1, in ZTEST() 240 .stop_bits = UART_CFG_STOP_BITS_2, in ZTEST() 247 .stop_bits = UART_CFG_STOP_BITS_2, in ZTEST()
|
/Zephyr-latest/drivers/serial/ |
D | uart_max32.c | 141 if (data->conf.stop_bits != uart_cfg->stop_bits) { in api_configure() 142 if (uart_cfg->stop_bits == UART_CFG_STOP_BITS_1) { in api_configure() 144 } else if (uart_cfg->stop_bits == UART_CFG_STOP_BITS_2) { in api_configure() 153 data->conf.stop_bits = uart_cfg->stop_bits; in api_configure() 444 .uart_conf.stop_bits = DT_INST_ENUM_IDX_OR(_num, stop_bits, UART_CFG_STOP_BITS_1), \
|
D | uart_b91.c | 253 uint8_t stop_bits; in uart_b91_configure() local 269 if (cfg->stop_bits == UART_CFG_STOP_BITS_1) { in uart_b91_configure() 270 stop_bits = UART_STOP_BIT_1; in uart_b91_configure() 271 } else if (cfg->stop_bits == UART_CFG_STOP_BITS_1_5) { in uart_b91_configure() 272 stop_bits = UART_STOP_BIT_1P5; in uart_b91_configure() 273 } else if (cfg->stop_bits == UART_CFG_STOP_BITS_2) { in uart_b91_configure() 274 stop_bits = UART_STOP_BIT_2; in uart_b91_configure() 286 uart_b91_init(uart, divider, bwpc, parity, stop_bits); in uart_b91_configure()
|
D | uart_renesas_rz_scif.c | 122 switch (uart_config->stop_bits) { in uart_rz_scif_apply_config() 124 fsp_cfg->stop_bits = UART_STOP_BITS_1; in uart_rz_scif_apply_config() 127 fsp_cfg->stop_bits = UART_STOP_BITS_2; in uart_rz_scif_apply_config() 283 .stop_bits = \ 284 DT_INST_ENUM_IDX_OR(n, stop_bits, UART_CFG_STOP_BITS_1), \
|
D | uart_native_tty_bottom.c | 128 enum native_tty_bottom_stop_bits stop_bits) in native_tty_stop_bits_set() argument 130 switch (stop_bits) { in native_tty_stop_bits_set() 213 native_tty_stop_bits_set(&ter, cfg->stop_bits); in native_tty_configure_bottom()
|
D | uart_native_tty_bottom.h | 48 enum native_tty_bottom_stop_bits stop_bits; member
|
D | uart_lpc11u6x.c | 132 switch (cfg->stop_bits) { in lpc11u6x_uart0_configure() 174 data->stop_bits = cfg->stop_bits; in lpc11u6x_uart0_configure() 189 cfg->stop_bits = data->stop_bits; in lpc11u6x_uart0_config_get() 364 data->stop_bits = UART_CFG_STOP_BITS_1; in lpc11u6x_uart0_init() 539 switch (cfg->stop_bits) { in lpc11u6x_uartx_configure() 594 data->stop_bits = cfg->stop_bits; in lpc11u6x_uartx_configure() 608 cfg->stop_bits = data->stop_bits; in lpc11u6x_uartx_config_get() 797 data->stop_bits = UART_CFG_STOP_BITS_1; in lpc11u6x_uartx_init()
|
D | usart_sam.c | 163 static uint32_t usart_sam_cfg2sam_stop_bits(uint8_t stop_bits) in usart_sam_cfg2sam_stop_bits() argument 165 switch (stop_bits) { in usart_sam_cfg2sam_stop_bits() 264 cfg->stop_bits == UART_CFG_STOP_BITS_0_5 || in usart_sam_configure() 280 | usart_sam_cfg2sam_stop_bits(cfg->stop_bits) in usart_sam_configure() 303 cfg->stop_bits = usart_sam_get_stop_bits(dev); in usart_sam_config_get() 505 .stop_bits = UART_CFG_STOP_BITS_1, in usart_sam_init()
|
D | uart_ifx_cat1.c | 105 static uint32_t _convert_uart_stop_bits_z_to_cyhal(enum uart_config_stop_bits stop_bits) in _convert_uart_stop_bits_z_to_cyhal() argument 109 switch (stop_bits) { in _convert_uart_stop_bits_z_to_cyhal() 215 .stop_bits = _convert_uart_stop_bits_z_to_cyhal(cfg->stop_bits), in ifx_cat1_uart_configure() 520 .dt_cfg.stop_bits = DT_INST_ENUM_IDX_OR(n, stop_bits, UART_CFG_STOP_BITS_1), \
|
D | uart_native_tty.c | 93 switch (cfg->stop_bits) { in native_tty_conv_to_bottom_cfg() 95 bottom_cfg->stop_bits = NTB_STOP_BITS_1; in native_tty_conv_to_bottom_cfg() 98 bottom_cfg->stop_bits = NTB_STOP_BITS_2; in native_tty_conv_to_bottom_cfg() 398 .stop_bits = UART_CFG_STOP_BITS_1, \
|
D | uart_lpc11u6x.h | 146 uint8_t stop_bits; member 184 uint8_t stop_bits; member
|
D | uart_mchp_xec.c | 371 switch (cfg->stop_bits) { in uart_xec_configure() 373 uart_cfg.stop_bits = LCR_1_STB; in uart_xec_configure() 376 uart_cfg.stop_bits = LCR_2_STB; in uart_xec_configure() 398 regs->LCR = uart_cfg.data_bits | uart_cfg.stop_bits | uart_cfg.parity; in uart_xec_configure() 433 cfg->stop_bits = data->uart_config.stop_bits; in uart_xec_config_get() 1100 .uart_config.stop_bits = UART_CFG_STOP_BITS_1, \
|
D | uart_rzt2m.c | 314 switch (data->uart_cfg.stop_bits) { in rzt2m_uart_init() 322 LOG_ERR("Selected bit stop length is not supported: %u.", data->uart_cfg.stop_bits); in rzt2m_uart_init() 431 .stop_bits = \ 432 DT_INST_ENUM_IDX_OR(n, stop_bits, UART_CFG_STOP_BITS_1), \
|
D | uart_mcux_flexcomm.c | 298 usart_stop_bit_count_t stop_bits; in mcux_flexcomm_uart_configure() local 322 if (cfg->stop_bits == UART_CFG_STOP_BITS_1) { in mcux_flexcomm_uart_configure() 323 stop_bits = kUSART_OneStopBit; in mcux_flexcomm_uart_configure() 324 } else if (cfg->stop_bits == UART_CFG_STOP_BITS_2) { in mcux_flexcomm_uart_configure() 325 stop_bits = kUSART_TwoStopBit; in mcux_flexcomm_uart_configure() 329 usart_config.stopBitCount = stop_bits; in mcux_flexcomm_uart_configure() 371 uart_config->stop_bits = cfg->stop_bits; in mcux_flexcomm_uart_configure() 1049 cfg->stop_bits = UART_CFG_STOP_BITS_1; in mcux_flexcomm_init()
|
D | uart_sam.c | 174 if (cfg->stop_bits != UART_CFG_STOP_BITS_1 || in uart_sam_configure() 211 cfg->stop_bits = UART_CFG_STOP_BITS_1; in uart_sam_config_get() 413 .stop_bits = UART_CFG_STOP_BITS_1, in uart_sam_init()
|
D | uart_altera.c | 301 && (cfg_stored->stop_bits == cfg_in->stop_bits) in uart_altera_check_configuration() 965 .stop_bits = DT_INST_ENUM_IDX_OR(n, stop_bits, \
|
D | uart_intel_lw.c | 338 && (cfg_stored->stop_bits == cfg_in->stop_bits) in uart_intel_lw_check_configuration() 999 .stop_bits = DT_INST_ENUM_IDX_OR(n, stop_bits, \
|
D | uart_ene_kb1200.c | 74 switch (cfg->stop_bits) { in kb1200_uart_configure() 367 .stop_bits = UART_CFG_STOP_BITS_1, \
|
D | uart_smartbond.c | 245 (cfg->stop_bits != UART_CFG_STOP_BITS_1 && cfg->stop_bits != UART_CFG_STOP_BITS_2) || in uart_smartbond_configure() 285 if (cfg->stop_bits == UART_CFG_STOP_BITS_2) { in uart_smartbond_configure() 796 .stop_bits = UART_CFG_STOP_BITS_1, \
|
D | uart_esp32.c | 232 cfg->stop_bits = UART_CFG_STOP_BITS_1; in uart_esp32_config_get() 235 cfg->stop_bits = UART_CFG_STOP_BITS_1_5; in uart_esp32_config_get() 238 cfg->stop_bits = UART_CFG_STOP_BITS_2; in uart_esp32_config_get() 321 switch (cfg->stop_bits) { in uart_esp32_configure() 1059 .stop_bits = DT_INST_ENUM_IDX_OR(idx, stop_bits, \
|
/Zephyr-latest/subsys/debug/gdbstub/ |
D | gdbstub_backend_serial.c | 19 .stop_bits = UART_CFG_STOP_BITS_1, in z_gdb_backend_init()
|
/Zephyr-latest/tests/drivers/uart/uart_basic_api/src/ |
D | test_uart_config.c | 31 .stop_bits = UART_CFG_STOP_BITS_1,
|
D | test_uart_config_wide.c | 31 .stop_bits = UART_CFG_STOP_BITS_1,
|
/Zephyr-latest/samples/drivers/uart/native_tty/src/ |
D | main.c | 22 .stop_bits = UART_CFG_STOP_BITS_1,
|
/Zephyr-latest/subsys/modbus/ |
D | modbus_serial.c | 469 uart_cfg.stop_bits = UART_CFG_STOP_BITS_1; in configure_uart() 474 uart_cfg.stop_bits = UART_CFG_STOP_BITS_2; in configure_uart() 487 uart_cfg.stop_bits = param->serial.stop_bits_client; in configure_uart()
|