|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Driver Operations DEVMUX driver operations More...
#include <zephyr/drivers/misc/devmux/devmux.h>
Data Fields | |
| int(* | select_get )(const struct device *dev) |
| REQ Callback API to get the current selection of a devmux device. | |
| int(* | select_set )(struct device *dev, size_t index) |
| REQ Callback API to set the selection of a devmux device. | |
Driver Operations DEVMUX driver operations
This is the driver API structure any DEVMUX driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.
Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.
| int(* devmux_driver_api::select_get) (const struct device *dev) |
REQ Callback API to get the current selection of a devmux device.
| int(* devmux_driver_api::select_set) (struct device *dev, size_t index) |
REQ Callback API to set the selection of a devmux device.