13#ifndef ZEPHYR_INCLUDE_DRIVERS_MISC_DEVMUX_DEVMUX_H_
14#define ZEPHYR_INCLUDE_DRIVERS_MISC_DEVMUX_DEVMUX_H_
103#include <zephyr/syscalls/devmux.h>
int devmux_select_set(struct device *dev, size_t index)
Set the selection of a devmux device.
int devmux_select_get(const struct device *dev)
Get the current selection of a devmux device.
Runtime device structure (in ROM) per driver instance.
Definition device.h:525
@driver_ops{DEVMUX}
Definition devmux.h:60
int(* select_get)(const struct device *dev)
@driver_ops_mandatory Callback API to get the current selection of a devmux device.
Definition devmux.h:64
int(* select_set)(struct device *dev, size_t index)
@driver_ops_mandatory Callback API to set the selection of a devmux device.
Definition devmux.h:68