Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_nrfx_uart.c122 nrf_uart_baudrate_t nrf_baudrate; /* calculated baudrate divisor */ in baudrate_set() local
127 nrf_baudrate = 0x00014000; in baudrate_set()
131 nrf_baudrate = 0x00027000; in baudrate_set()
134 nrf_baudrate = NRF_UART_BAUDRATE_1200; in baudrate_set()
137 nrf_baudrate = NRF_UART_BAUDRATE_2400; in baudrate_set()
140 nrf_baudrate = NRF_UART_BAUDRATE_4800; in baudrate_set()
143 nrf_baudrate = NRF_UART_BAUDRATE_9600; in baudrate_set()
146 nrf_baudrate = NRF_UART_BAUDRATE_14400; in baudrate_set()
149 nrf_baudrate = NRF_UART_BAUDRATE_19200; in baudrate_set()
152 nrf_baudrate = NRF_UART_BAUDRATE_28800; in baudrate_set()
[all …]
Duart_nrfx_uarte.c219 nrf_uarte_baudrate_t nrf_baudrate; member
317 nrf_uarte_baudrate_t nrf_baudrate; member
491 nrf_uarte_baudrate_t nrf_baudrate = NRF_BAUDRATE(baudrate); in baudrate_set() local
493 if (nrf_baudrate == 0) { in baudrate_set()
499 nrf_baudrate /= config->clock_freq / NRF_UARTE_BASE_FREQUENCY_16MHZ; in baudrate_set()
505 data->nrf_baudrate = nrf_baudrate; in baudrate_set()
507 nrf_uarte_baudrate_set(get_uarte_instance(dev), nrf_baudrate); in baudrate_set()
666 (data->nrf_baudrate), (config->nrf_baudrate))); in uarte_periph_enable()
2346 nrf_uarte_baudrate_set(uarte, cfg->nrf_baudrate); in uarte_instance_init()
2459 .nrf_baudrate = UARTE_GET_BAUDRATE(idx), \
Duart_nrfx_uarte2.c628 nrf_uarte_baudrate_t nrf_baudrate = NRF_BAUDRATE(baudrate); in baudrate_set() local
634 nrfy_uarte_baudrate_set(uarte, nrf_baudrate); in baudrate_set()