Bridle API 4.1.99
A Zephyr based application framework
Loading...
Searching...
No Matches
gpio_sipomux_config Struct Reference

SIPO/MUX GPIO controller configuration data. More...

Data Fields

struct gpio_driver_config common
 Common gpio_driver_config (needs to be first)
 
const gpio_pin_t num_pins
 Number of pins available in the given GPIO controller instance.
 
const gpio_port_pins_t num_offs
 Number of pins postponed in the given GPIO controller instance.
 
const struct device * mfd
 Backend MFD device for real operations on hardware.
 

Detailed Description

SIPO/MUX GPIO controller configuration data.

This structure contains all of the state for a given SIPO/MUX GPIO controller as well as all of the pins associated with it.

num_pins must be in the range [1, GPIO_MAX_PINS_PER_PORT].

num_offs must be in the range [1, SIPO/MUX GP maximum minus num_pins].

Pin direction as well as other pin properties are set using specific bits in flags. For more details, see gpio_interface.

Field Documentation

◆ common

struct gpio_driver_config gpio_sipomux_config::common

Common gpio_driver_config (needs to be first)

◆ mfd

const struct device* gpio_sipomux_config::mfd

Backend MFD device for real operations on hardware.

◆ num_offs

const gpio_port_pins_t gpio_sipomux_config::num_offs

Number of pins postponed in the given GPIO controller instance.

◆ num_pins

const gpio_pin_t gpio_sipomux_config::num_pins

Number of pins available in the given GPIO controller instance.


The documentation for this struct was generated from the following file: