|
Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Public APIs for UART MUX drivers. More...
Go to the source code of this file.
Data Structures | |
| struct | uart_mux_driver_api |
| UART mux driver API structure. More... | |
Typedefs | |
| typedef void(* | uart_mux_attach_cb_t) (const struct device *mux, int dlci_address, bool connected, void *user_data) |
| Define the user callback function which is called when the UART mux is attached properly. More... | |
| typedef void(* | uart_mux_cb_t) (const struct device *uart, const struct device *dev, int dlci_address, void *user_data) |
| Callback used while iterating over UART muxes. More... | |
Functions | |
| static int | uart_mux_attach (const struct device *mux, const struct device *uart, int dlci_address, uart_mux_attach_cb_t cb, void *user_data) |
| Attach physical/real UART to UART muxing device. More... | |
| const struct device * | uart_mux_find (int dlci_address) |
| Get UART related to a specific DLCI channel. More... | |
| const struct device * | uart_mux_alloc (void) |
| Allocate muxing UART device. More... | |
| void | uart_mux_foreach (uart_mux_cb_t cb, void *user_data) |
| Go through all the UART muxes and call callback for each of them. More... | |
| void | uart_mux_disable (const struct device *dev) |
| Disable the mux. More... | |
| void | uart_mux_enable (const struct device *dev) |
| Enable the mux. More... | |
Public APIs for UART MUX drivers.