|
Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Container for GPIO pin information specified in devicetree. More...
#include <gpio.h>
Data Fields | |
| const struct device * | port |
| GPIO device controlling the pin. | |
| gpio_pin_t | pin |
| The pin's number on the device. | |
| gpio_dt_flags_t | dt_flags |
| The pin's configuration flags as specified in devicetree. | |
Container for GPIO pin information specified in devicetree.
This type contains a pointer to a GPIO device, pin number for a pin controlled by that device, and the subset of pin configuration flags which may be given in devicetree.
| gpio_dt_flags_t gpio_dt_spec::dt_flags |
The pin's configuration flags as specified in devicetree.
| gpio_pin_t gpio_dt_spec::pin |
The pin's number on the device.
| const struct device* gpio_dt_spec::port |
GPIO device controlling the pin.