Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_rpi_pico_pio.c147 float sm_clock_div; in pio_uart_init() local
154 sm_clock_div = (float)clock_get_hz(clk_sys) / (CYCLES_PER_BIT * config->baudrate); in pio_uart_init()
166 retval = pio_uart_tx_init(pio, tx_sm, config->tx_pin, sm_clock_div); in pio_uart_init()
171 retval = pio_uart_rx_init(pio, rx_sm, config->rx_pin, sm_clock_div); in pio_uart_init()