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

Addressing + default state pair for a MUX control line. More...

#include <mux.h>

Data Fields

const struct mux_controlcontrol
 Addressing portion (points to a statically-defined mux_control).
uint32_t state
 Default state value taken from the trailing cell of the specifier.

Detailed Description

Addressing + default state pair for a MUX control line.

One mux_state pairs a mux_control with a default state value extracted from the trailing cell of a devicetree mux-states specifier. Use mux_state_apply() to drive the MUX to that state in one call.

Field Documentation

◆ control

const struct mux_control* mux_state::control

Addressing portion (points to a statically-defined mux_control).

◆ state

uint32_t mux_state::state

Default state value taken from the trailing cell of the specifier.


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