| /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_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_native_tty_bottom.h | 48 enum native_tty_bottom_stop_bits stop_bits; member
|
| 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_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_gecko.c | 583 if (uart_cfg->stop_bits != cfg->stop_bits) { in uart_gecko_configure() 615 cfg->stop_bits = uart_cfg->stop_bits; in uart_gecko_config_get() 647 usartInit.stopbits = uart_gecko_cfg2ll_stopbits(uart_cfg->stop_bits); in uart_gecko_init() 843 .stop_bits = DT_INST_ENUM_IDX(idx, stop_bits), \ 910 .stop_bits = DT_INST_ENUM_IDX(idx, stop_bits), \ 946 .stop_bits = DT_INST_ENUM_IDX(idx, stop_bits), \
|
| D | uart_native_tty.c | 95 switch (cfg->stop_bits) { in native_tty_conv_to_bottom_cfg() 97 bottom_cfg->stop_bits = NTB_STOP_BITS_1; in native_tty_conv_to_bottom_cfg() 100 bottom_cfg->stop_bits = NTB_STOP_BITS_2; in native_tty_conv_to_bottom_cfg() 402 .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_renesas_rz_sci.c | 156 switch (uart_config->stop_bits) { in uart_rz_sci_apply_config() 158 fsp_cfg->stop_bits = UART_STOP_BITS_1; in uart_rz_sci_apply_config() 161 fsp_cfg->stop_bits = UART_STOP_BITS_2; in uart_rz_sci_apply_config() 483 .stop_bits = \ 484 DT_INST_ENUM_IDX_OR(n, stop_bits, UART_CFG_STOP_BITS_1), \
|
| D | uart_renesas_rz_scif.c | 149 switch (uart_config->stop_bits) { in uart_rz_scif_apply_config() 151 fsp_cfg->stop_bits = UART_STOP_BITS_1; in uart_rz_scif_apply_config() 154 fsp_cfg->stop_bits = UART_STOP_BITS_2; in uart_rz_scif_apply_config() 511 .stop_bits = DT_INST_ENUM_IDX(n, stop_bits), \
|
| 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 = DT_INST_ENUM_IDX(n, stop_bits), \
|
| D | uart_cc23x0.c | 97 switch (cfg->stop_bits) { in uart_cc23x0_configure() 397 .stop_bits = DT_INST_ENUM_IDX(n, stop_bits), \
|
| 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_silabs_eusart.c | 402 eusartInit.stopbits = uart_silabs_eusart_cfg2ll_stopbits(uart_cfg->stop_bits); in uart_silabs_eusart_init() 502 .stop_bits = DT_INST_ENUM_IDX(idx, stop_bits), \
|
| D | uart_max32.c | 197 if (data->conf.stop_bits != uart_cfg->stop_bits) { in api_configure() 198 if (uart_cfg->stop_bits == UART_CFG_STOP_BITS_1) { in api_configure() 200 } else if (uart_cfg->stop_bits == UART_CFG_STOP_BITS_2) { in api_configure() 209 data->conf.stop_bits = uart_cfg->stop_bits; in api_configure() 1047 .uart_conf.stop_bits = DT_INST_ENUM_IDX(_num, stop_bits), \
|
| D | uart_cc13xx_cc26xx.c | 121 switch (cfg->stop_bits) { in uart_cc13xx_cc26xx_configure() 621 .stop_bits = DT_INST_ENUM_IDX(n, stop_bits), \
|
| D | uart_altera.c | 301 && (cfg_stored->stop_bits == cfg_in->stop_bits) in uart_altera_check_configuration() 964 .stop_bits = DT_INST_ENUM_IDX(n, 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/samples/boards/st/uart/circular_dma/src/ |
| D | main.c | 29 .stop_bits = UART_CFG_STOP_BITS_1,
|