Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
gpio_dt_spec Struct Reference

Provides a type to hold GPIO information specified in devicetree. More...

#include <gpio.h>

Data Fields

const struct deviceport
 
gpio_pin_t pin
 
gpio_dt_flags_t dt_flags
 

Detailed Description

Provides a type to hold GPIO information specified in devicetree.

This type is sufficient to hold a GPIO device pointer, pin number, and the subset of the flags used to control GPIO configuration which may be given in devicetree.

Field Documentation

◆ dt_flags

gpio_dt_flags_t gpio_dt_spec::dt_flags

◆ pin

gpio_pin_t gpio_dt_spec::pin

◆ port

const struct device* gpio_dt_spec::port

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