Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/serial/
Duart_nrfx_uart.c394 static void user_callback(const struct device *dev, struct uart_event *event) in user_callback() function
462 user_callback(dev, &evt); in uart_nrfx_tx_abort()
546 user_callback(dev, &event); in rx_rdy_evt()
555 user_callback(dev, &event); in buf_released_evt()
563 user_callback(dev, &event); in rx_disabled_evt()
592 user_callback(dev, &event); in rx_isr()
630 user_callback(dev, &event); in rx_isr()
673 user_callback(dev, &event); in tx_isr()
705 user_callback(dev, &event); in error_isr()
775 user_callback(DEVICE_DT_INST_GET(0), &evt); in tx_timeout()
Duart_nrfx_uarte.c79 uart_callback_t user_callback; member
781 static void user_callback(const struct device *dev, struct uart_event *evt) in user_callback() function
785 if (data->async->user_callback) { in user_callback()
786 data->async->user_callback(dev, evt, data->async->user_data); in user_callback()
800 user_callback(dev, &evt); in notify_uart_rx_rdy()
811 user_callback(dev, &evt); in rx_buf_release()
822 user_callback(dev, (struct uart_event *)&evt); in notify_rx_disable()
937 data->async->user_callback = callback; in uarte_nrfx_callback_set()
1080 user_callback(dev, &evt); in error_isr()
1090 user_callback(dev, &evt); in rxstarted_isr()
[all …]
Duart_mcux_lpuart.c79 uart_callback_t user_callback; member
375 data->async.user_callback = NULL; in mcux_lpuart_irq_callback_set()
396 if (data->async.user_callback) { in async_user_callback()
397 data->async.user_callback(dev, evt, data->async.user_data); in async_user_callback()
666 data->async.user_callback = callback; in mcux_lpuart_callback_set()