Home
last modified time | relevance | path

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

123456789

/bsp/xuantie/libraries/device_drivers/
A Ddrv_usart.c70 csi_uart_stop_bits_t stop_bits; in xuantie_configure() local
110 switch (cfg->stop_bits) in xuantie_configure()
113 stop_bits = UART_STOP_BITS_1; in xuantie_configure()
116 stop_bits = UART_STOP_BITS_2; in xuantie_configure()
119 stop_bits = UART_STOP_BITS_1; in xuantie_configure()
123 ret = csi_uart_format(&uart->uart, data_bits, parity, stop_bits); in xuantie_configure()
/bsp/xuantie/libraries/xuantie_libraries/chip_riscv_dummy/src/drivers/
A Ddw_uart_ll.c93 int32_t dw_uart_config_stop_bits(dw_uart_regs_t *uart_base, uint32_t stop_bits) in dw_uart_config_stop_bits() argument
101 if (stop_bits == 1U) { in dw_uart_config_stop_bits()
103 } else if (stop_bits == 2U) { in dw_uart_config_stop_bits()
/bsp/airm2m/air105/libraries/rt_drivers/
A Ddrv_usart_v2.c142 switch (cfg->stop_bits) in air105_configure()
145 cfg->stop_bits = UART_STOP_BIT1; in air105_configure()
148 cfg->stop_bits = UART_STOP_BIT2; in air105_configure()
151 cfg->stop_bits = UART_STOP_BIT1_5; in air105_configure()
155 …Uart_BaseInit(uart_id, cfg->baud_rate, 0, cfg->data_bits, cfg->parity, cfg->stop_bits, air105_uart… in air105_configure()
/bsp/bouffalo_lab/libraries/rt_drivers/
A Ddrv_uart.c70 uart_cfg.stop_bits = UART_STOP_BITS_1; in _uart_configure()
101 switch (serial_cfg->stop_bits) in _uart_configure()
104 uart_cfg.stop_bits = UART_STOP_BITS_1; in _uart_configure()
108 uart_cfg.stop_bits = UART_STOP_BITS_2; in _uart_configure()
112 uart_cfg.stop_bits = UART_STOP_BITS_1; in _uart_configure()
/bsp/at91/at91sam9g45/drivers/
A Dusart.c80 switch (cfg->stop_bits) in at91_usart_configure()
286 serial_dbgu.config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
302 serial0.config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
321 serial1.config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
340 serial2.config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
359 serial3.config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
/bsp/rm48x50/drivers/
A Ddrv_uart.c52 if (cfg->stop_bits == STOP_BITS_2) in _configure()
54 else if (cfg->stop_bits != STOP_BITS_1) in _configure()
195 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
/bsp/nxp/imx/imx6ul/drivers/
A Dserial.c49 if (cfg->stop_bits == STOP_BITS_1) stopbits = STOPBITS_ONE; in uart_configure()
50 else if (cfg->stop_bits == STOP_BITS_2) stopbits = STOPBITS_TWO; in uart_configure()
143 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
/bsp/at91/at91sam9260/drivers/
A Dusart.c125 switch (cfg->stop_bits) in at91_usart_configure()
325 serial_dbgu.config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
341 serial0.config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
361 serial1.config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
380 serial2.config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
399 serial3.config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
/bsp/nxp/imx/imx6sx/cortex-a9/drivers/
A Dserial.c51 if (cfg->stop_bits == STOP_BITS_1) stopbits = STOPBITS_ONE; in uart_configure()
52 else if (cfg->stop_bits == STOP_BITS_2) stopbits = STOPBITS_TWO; in uart_configure()
155 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
/bsp/bluetrum/libraries/hal_drivers/
A Ddrv_usart.c94 switch (cfg->stop_bits) in ab32_configure()
97 uart->handle.init.stop_bits = UART_STOPBITS_1; in ab32_configure()
100 uart->handle.init.stop_bits = UART_STOPBITS_2; in ab32_configure()
103 uart->handle.init.stop_bits = UART_STOPBITS_1; in ab32_configure()
/bsp/fujitsu/mb9x/mb9bf506r/drivers/
A Dfm3_uart.c392 switch (cfg->stop_bits) in uart03_configure()
572 switch (cfg->stop_bits) in uart47_configure()
784 config.stop_bits = STOP_BITS_1; in rt_hw_serial_init()
802 config.stop_bits = STOP_BITS_1; in rt_hw_serial_init()
821 config.stop_bits = STOP_BITS_1; in rt_hw_serial_init()
840 config.stop_bits = STOP_BITS_1; in rt_hw_serial_init()
859 config.stop_bits = STOP_BITS_1; in rt_hw_serial_init()
878 config.stop_bits = STOP_BITS_1; in rt_hw_serial_init()
897 config.stop_bits = STOP_BITS_1; in rt_hw_serial_init()
916 config.stop_bits = STOP_BITS_1; in rt_hw_serial_init()
/bsp/w60x/drivers/
A Ddrv_uart.c250 TLS_UART_STOPBITS_T stop_bits; in drv_uart_configure() local
299 switch (cfg->stop_bits) in drv_uart_configure()
302 stop_bits = TLS_UART_TWO_STOPBITS; in drv_uart_configure()
307 stop_bits = TLS_UART_ONE_STOPBITS; in drv_uart_configure()
310 wm_uart_stopbits_set((TLS_UART_REGS_T *)uart->uart_device, stop_bits); in drv_uart_configure()
/bsp/microchip/same70/bsp/hpl/usart/
A Dhpl_usart.c166 static void _usart_set_stop_bits(void *const hw, const enum usart_stop_bits stop_bits);
372 …t_sync_set_stop_bits(struct _usart_sync_device *const device, const enum usart_stop_bits stop_bits) in _usart_usart_sync_set_stop_bits() argument
375 _usart_set_stop_bits(device->hw, stop_bits); in _usart_usart_sync_set_stop_bits()
381 …async_set_stop_bits(struct _usart_async_device *const device, const enum usart_stop_bits stop_bits) in _usart_async_set_stop_bits() argument
384 _usart_set_stop_bits(device->hw, stop_bits); in _usart_async_set_stop_bits()
950 static void _usart_set_stop_bits(void *const hw, const enum usart_stop_bits stop_bits) in _usart_set_stop_bits() argument
954 switch (stop_bits) { in _usart_set_stop_bits()
/bsp/nxp/lpc/lpc43xx/drivers/
A Ddrv_uart.c180 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
231 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
283 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
/bsp/nv32f100x/board/src/
A Ddrv_uart.c51 if (cfg->stop_bits == STOP_BITS_1) in nv32_configure()
55 else if (cfg->stop_bits == STOP_BITS_2) in nv32_configure()
/bsp/renesas/ra4m2-eco/ra_gen/
A Dhal_data.c41 .stop_bits = UART_STOP_BITS_1,
128 .stop_bits = UART_STOP_BITS_1,
/bsp/zynqmp-r5-axu4ev/drivers/
A Ddrv_uart.c173 if (cfg->stop_bits == STOP_BITS_2) in uart_configure()
175 else if (cfg->stop_bits == STOP_BITS_1) in uart_configure()
303 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
/bsp/tm4c129x/drivers/
A Ddrv_uart.c77 switch(cfg->stop_bits) in hw_configure()
187 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
/bsp/essemi/es32f0654/drivers/
A Ddrv_uart.c253 …usart->huart.init.stop_bits = ((cfg->stop_bits == STOP_BITS_1) ? USART_STOP_BITS_1 : USART_STOP… in es32f0x_configure()
351 uart->huart.init.stop_bits = (uart_stop_bits_t)cfg->stop_bits; in es32f0x_configure()
/bsp/microchip/common/board/
A Dserial.c87 if (cfg->stop_bits == STOP_BITS_1) in serial_configure()
89 else if (cfg->stop_bits == STOP_BITS_2) in serial_configure()
/bsp/tae32f5300/drivers/
A Ddrv_uart.c47 if (cfg->stop_bits == STOP_BITS_1) in _uart_configure()
49 else if (cfg->stop_bits == STOP_BITS_2) in _uart_configure()
/bsp/asm9260t/drivers/
A Dusart.c67 cfg->stop_bits, cfg->parity); in asm_usart_configure()
186 serial->config.stop_bits = STOP_BITS_1; in asm_serial_config_set_default()
/bsp/xplorer4330/drivers/
A Ddrv_uart.c209 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
261 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
/bsp/rx/drivers/
A Duart.c248 if (cfg->stop_bits == STOP_BITS_2) { in rx_configure()
250 } else if (cfg->stop_bits != STOP_BITS_1) { in rx_configure()
359 switch (cfg->stop_bits) { in rx_configure()
531 config.stop_bits = STOP_BITS_1; in rt_hw_uart_init()
/bsp/mm32f526x/drivers/
A Ddrv_uart.c36 if (cfg->stop_bits == STOP_BITS_1) in mm32_uart_configure()
38 else if (cfg->stop_bits == STOP_BITS_2) in mm32_uart_configure()

Completed in 43 milliseconds

123456789