Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/src/rp2_common/hardware_uart/
Duart.c15 static inline uint32_t uart_clock_get_hz(__unused uart_inst_t *inst) { in uart_clock_get_hz() function
45 if (uart_clock_get_hz(uart) == 0) { in uart_init()
135 uint32_t scaled_freq = uart_clock_get_hz(uart) / 3662ul; in uart_disable_before_lcr_write()
157 uint32_t baud_rate_div = (8 * uart_clock_get_hz(uart) / baudrate) + 1; in uart_set_baudrate()
179 return (4 * uart_clock_get_hz(uart)) / (64 * baud_ibrd + baud_fbrd); in uart_set_baudrate()