Lines Matching +full:uart +full:- +full:dev
4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Backend API for emulated UART
26 * @param dev UART device instance
30 typedef void (*uart_emul_callback_tx_data_ready_t)(const struct device *dev, size_t size,
39 * @param dev The emulated UART device instance
43 void uart_emul_callback_tx_data_ready_set(const struct device *dev,
49 * @param dev The emulated UART device instance
55 uint32_t uart_emul_put_rx_data(const struct device *dev, const uint8_t *data, size_t size);
60 * @param dev The emulated UART device instance
66 uint32_t uart_emul_get_tx_data(const struct device *dev, uint8_t *data, size_t size);
71 * @param dev The emulated UART device instance
75 uint32_t uart_emul_flush_rx_data(const struct device *dev);
80 * @param dev The emulated UART device instance
84 uint32_t uart_emul_flush_tx_data(const struct device *dev);
89 * @param dev The emulated UART device instance
92 void uart_emul_set_errors(const struct device *dev, int errors);
97 * @param dev The emulated UART device instance
100 void uart_emul_set_release_buffer_on_timeout(const struct device *dev, bool release_on_timeout);