Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
UART mux driver API structure. More...
#include <uart_mux.h>
Data Fields | |
struct uart_driver_api | uart_api |
The uart_driver_api must be placed in first position in this struct so that we are compatible with uart API. | |
int(* | attach )(const struct device *mux, const struct device *uart, int dlci_address, uart_mux_attach_cb_t cb, void *user_data) |
Attach the mux to this UART. | |
UART mux driver API structure.
int(* uart_mux_driver_api::attach) (const struct device *mux, const struct device *uart, int dlci_address, uart_mux_attach_cb_t cb, void *user_data) |
Attach the mux to this UART.
The API will call the callback after the DLCI is created or not.
struct uart_driver_api uart_mux_driver_api::uart_api |
The uart_driver_api must be placed in first position in this struct so that we are compatible with uart API.
Note that currently not all of the UART API functions are implemented.