Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
devmux_driver_api Struct Reference

@driver_ops{DEVMUX} More...

#include <devmux.h>

Data Fields

int(* select_get )(const struct device *dev)
 @driver_ops_mandatory Callback API to get the current selection of a devmux device.
int(* select_set )(struct device *dev, size_t index)
 @driver_ops_mandatory Callback API to set the selection of a devmux device.

Detailed Description

@driver_ops{DEVMUX}

Field Documentation

◆ select_get

int(* devmux_driver_api::select_get) (const struct device *dev)

@driver_ops_mandatory Callback API to get the current selection of a devmux device.

◆ select_set

int(* devmux_driver_api::select_set) (struct device *dev, size_t index)

@driver_ops_mandatory Callback API to set the selection of a devmux device.


The documentation for this struct was generated from the following file:
  • include/zephyr/drivers/misc/devmux/devmux.h