Home
last modified time | relevance | path

Searched refs:stop_bits (Results 1 – 25 of 25) sorted by relevance

/Zephyr-Core-2.7.6/drivers/serial/
Duart_b91.c251 uint8_t stop_bits; in uart_b91_configure() local
267 if (cfg->stop_bits == UART_CFG_STOP_BITS_1) { in uart_b91_configure()
268 stop_bits = UART_STOP_BIT_1; in uart_b91_configure()
269 } else if (cfg->stop_bits == UART_CFG_STOP_BITS_1_5) { in uart_b91_configure()
270 stop_bits = UART_STOP_BIT_1P5; in uart_b91_configure()
271 } else if (cfg->stop_bits == UART_CFG_STOP_BITS_2) { in uart_b91_configure()
272 stop_bits = UART_STOP_BIT_2; in uart_b91_configure()
284 uart_b91_init(uart, divider, bwpc, parity, stop_bits); in uart_b91_configure()
Duart_lpc11u6x.c136 switch (cfg->stop_bits) { in lpc11u6x_uart0_configure()
182 data->stop_bits = cfg->stop_bits; in lpc11u6x_uart0_configure()
197 cfg->stop_bits = data->stop_bits; in lpc11u6x_uart0_config_get()
381 data->stop_bits = UART_CFG_STOP_BITS_1; in lpc11u6x_uart0_init()
557 switch (cfg->stop_bits) { in lpc11u6x_uartx_configure()
610 data->stop_bits = cfg->stop_bits; in lpc11u6x_uartx_configure()
624 cfg->stop_bits = data->stop_bits; in lpc11u6x_uartx_config_get()
826 data->stop_bits = UART_CFG_STOP_BITS_1; in lpc11u6x_uartx_init()
Duart_mchp_xec.c286 switch (cfg->stop_bits) { in uart_xec_configure()
288 uart_cfg.stop_bits = LCR_1_STB; in uart_xec_configure()
291 uart_cfg.stop_bits = LCR_2_STB; in uart_xec_configure()
313 regs->LCR = uart_cfg.data_bits | uart_cfg.stop_bits | uart_cfg.parity; in uart_xec_configure()
348 cfg->stop_bits = data->uart_config.stop_bits; in uart_xec_config_get()
889 .uart_config.stop_bits = UART_CFG_STOP_BITS_1, \
Duart_lpc11u6x.h146 uint8_t stop_bits; member
187 uint8_t stop_bits; member
Duart_ns16550.c416 switch (cfg->stop_bits) { in uart_ns16550_configure()
418 uart_cfg.stop_bits = LCR_1_STB; in uart_ns16550_configure()
421 uart_cfg.stop_bits = LCR_2_STB; in uart_ns16550_configure()
444 uart_cfg.data_bits | uart_cfg.stop_bits | uart_cfg.parity); in uart_ns16550_configure()
486 cfg->stop_bits = data->uart_config.stop_bits; in uart_ns16550_config_get()
1086 .uart_config.stop_bits = UART_CFG_STOP_BITS_1, \
Duart_esp32.c182 cfg->stop_bits = UART_GET_STOP_BITS(DEV_BASE(dev)->conf0); in uart_esp32_config_get()
282 switch (cfg->stop_bits) { in uart_esp32_configure()
286 conf0 |= cfg->stop_bits << UART_STOP_BIT_NUM_S; in uart_esp32_configure()
508 .stop_bits = UART_CFG_STOP_BITS_1, \
Duart_xmc4xxx.c47 data->config.stop_bits = 1U; in uart_xmc4xxx_init()
Duart_apbuart.c253 if (cfg->stop_bits != UART_CFG_STOP_BITS_1) { in apbuart_configure()
302 cfg->stop_bits = UART_CFG_STOP_BITS_1; in apbuart_config_get()
Duart_mcux.c54 switch (cfg->stop_bits) { in uart_mcux_configure()
400 .stop_bits = UART_CFG_STOP_BITS_1, \
Duart_numicro.c117 stopbits = uart_numicro_convert_stopbit(cfg->stop_bits); in uart_numicro_configure()
Duart_cc13xx_cc26xx.c115 switch (cfg->stop_bits) { in uart_cc13xx_cc26xx_configure()
589 .stop_bits = UART_CFG_STOP_BITS_1, \
Duart_mcux_lpuart.c284 switch (cfg->stop_bits) { in mcux_lpuart_configure_init()
359 uart_api_config->stop_bits = UART_CFG_STOP_BITS_1; in mcux_lpuart_init()
Duart_stm32.c407 const uint32_t stopbits = uart_stm32_cfg2ll_stopbits(cfg->stop_bits); in uart_stm32_configure()
426 (cfg->stop_bits == UART_CFG_STOP_BITS_0_5)) { in uart_stm32_configure()
430 if (cfg->stop_bits == UART_CFG_STOP_BITS_0_5) { in uart_stm32_configure()
437 (cfg->stop_bits == UART_CFG_STOP_BITS_1_5)) { in uart_stm32_configure()
441 if (cfg->stop_bits == UART_CFG_STOP_BITS_1_5) { in uart_stm32_configure()
498 cfg->stop_bits = uart_stm32_ll2cfg_stopbits( in uart_stm32_config_get()
Duart_nrfx_uart.c326 switch (cfg->stop_bits) { in uart_nrfx_configure()
337 if (cfg->stop_bits != UART_CFG_STOP_BITS_1) { in uart_nrfx_configure()
1171 .stop_bits = UART_CFG_STOP_BITS_1,
Duart_sam0.c435 switch (new_cfg->stop_bits) { in uart_sam0_configure()
446 dev_data->config_cache.stop_bits = new_cfg->stop_bits; in uart_sam0_configure()
551 dev_data->config_cache.stop_bits = UART_CFG_STOP_BITS_1; in uart_sam0_init()
Duart_rcar.c195 cfg->stop_bits != UART_CFG_STOP_BITS_1 || in uart_rcar_configure()
573 .stop_bits = UART_CFG_STOP_BITS_1, \
Duart_xlnx_ps.c621 (!uart_xlnx_ps_cfg2ll_stopbits(&mode_reg, cfg->stop_bits)) || in uart_xlnx_ps_configure()
824 cfg->stop_bits = uart_xlnx_ps_ll2cfg_stopbits(mode_reg); in uart_xlnx_ps_config_get()
Duart_nrfx_uarte.c373 switch (cfg->stop_bits) { in uarte_nrfx_configure()
384 if (cfg->stop_bits != UART_CFG_STOP_BITS_1) { in uarte_nrfx_configure()
2007 .stop_bits = UART_CFG_STOP_BITS_1, \
/Zephyr-Core-2.7.6/subsys/debug/gdbstub/
Dgdbstub_backend_serial.c19 .stop_bits = UART_CFG_STOP_BITS_1, in z_gdb_backend_init()
/Zephyr-Core-2.7.6/tests/drivers/uart/uart_basic_api/src/
Dtest_uart_config.c32 .stop_bits = UART_CFG_STOP_BITS_1,
/Zephyr-Core-2.7.6/subsys/modbus/
Dmodbus_serial.c570 uart_cfg.stop_bits = UART_CFG_STOP_BITS_1; in modbus_serial_init()
575 uart_cfg.stop_bits = UART_CFG_STOP_BITS_2; in modbus_serial_init()
/Zephyr-Core-2.7.6/subsys/mgmt/osdp/src/
Dosdp.c213 p->dev_config.stop_bits = UART_CFG_STOP_BITS_1; in osdp_init()
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Drfcomm.c1121 uint8_t data_bits, stop_bits, parity_bits; in rfcomm_handle_rpn() local
1152 stop_bits = BT_RFCOMM_RPN_STOP_BITS_1; in rfcomm_handle_rpn()
1155 stop_bits, in rfcomm_handle_rpn()
/Zephyr-Core-2.7.6/include/drivers/
Duart.h264 uint8_t stop_bits; member
/Zephyr-Core-2.7.6/drivers/wifi/esp_at/
Desp.c959 .stop_bits = UART_CFG_STOP_BITS_1, in esp_init_work()