Home
last modified time | relevance | path

Searched refs:databits (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.5.0/drivers/serial/
Duart_numicro.c105 int32_t databits, stopbits; in uart_numicro_configure() local
108 databits = uart_numicro_convert_datalen(cfg->data_bits); in uart_numicro_configure()
109 if (databits < 0) { in uart_numicro_configure()
110 return databits; in uart_numicro_configure()
128 UART_SetLineConfig(config->uart, cfg->baudrate, databits, parity, in uart_numicro_configure()
Duart_numaker.c147 int32_t databits, stopbits; in uart_numaker_configure() local
150 databits = uart_numaker_convert_datalen(cfg->data_bits); in uart_numaker_configure()
151 if (databits < 0) { in uart_numaker_configure()
152 return databits; in uart_numaker_configure()
170 UART_SetLineConfig(config->uart, cfg->baudrate, databits, parity, stopbits); in uart_numaker_configure()
Duart_xlnx_ps.c157 uint32_t databits; member
512 enum uart_config_data_bits databits) in uart_xlnx_ps_cfg2ll_databits() argument
522 switch (databits) { in uart_xlnx_ps_cfg2ll_databits()
Duart_stm32.c234 uint32_t databits) in uart_stm32_set_databits() argument
238 LL_USART_SetDataWidth(config->usart, databits); in uart_stm32_set_databits()
469 const uint32_t databits = uart_stm32_cfg2ll_databits(cfg->data_bits, in uart_stm32_parameters_set() local
482 databits, in uart_stm32_parameters_set()
497 if (databits != uart_stm32_get_databits(dev)) { in uart_stm32_parameters_set()
498 uart_stm32_set_databits(dev, databits); in uart_stm32_parameters_set()
527 const uint32_t databits = uart_stm32_cfg2ll_databits(cfg->data_bits, in uart_stm32_configure() local
552 if (uart_stm32_ll2cfg_databits(databits, parity) != cfg->data_bits) { in uart_stm32_configure()
/Zephyr-Core-3.5.0/drivers/spi/
Dspi_gecko.c286 usartInit.databits = usartDatabits8; in spi_gecko_init()