Home
last modified time | relevance | path

Searched defs:uart_driver_api (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/include/zephyr/drivers/uart/
Duart_internal.h39 __subsystem struct uart_driver_api { struct
43 int (*callback_set)(const struct device *dev, uart_callback_t callback, void *user_data);
45 int (*tx)(const struct device *dev, const uint8_t *buf, size_t len, int32_t timeout);
46 int (*tx_abort)(const struct device *dev);
48 int (*rx_enable)(const struct device *dev, uint8_t *buf, size_t len, int32_t timeout);
49 int (*rx_buf_rsp)(const struct device *dev, uint8_t *buf, size_t len);
50 int (*rx_disable)(const struct device *dev);
53 int (*tx_u16)(const struct device *dev, const uint16_t *buf, size_t len, int32_t timeout);
54 int (*rx_enable_u16)(const struct device *dev, uint16_t *buf, size_t len, int32_t timeout);
55 int (*rx_buf_rsp_u16)(const struct device *dev, uint16_t *buf, size_t len);
[all …]