Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/serial/
Duart_neorv32.c129 uint16_t baudxx = 0; in neorv32_uart_configure() local
181 baudxx = clk / (2 * cfg->baudrate); in neorv32_uart_configure()
182 while (baudxx >= NEORV32_UART_CTRL_BAUD_MASK) { in neorv32_uart_configure()
184 baudxx >>= 3; in neorv32_uart_configure()
186 baudxx >>= 1; in neorv32_uart_configure()
197 ctrl |= (baudxx - 1) << NEORV32_UART_CTRL_BAUD_POS; in neorv32_uart_configure()