zephyr::raw

Type Alias gpio_dt_flags_t

source
pub type gpio_dt_flags_t = u16;
Expand description

@brief Provides a type to hold GPIO devicetree flags.

All GPIO flags that can be expressed in devicetree fit in the low 16 bits of the full flags field, so use a reduced-size type to record that part of a GPIOS property.

The lower 8 bits are used for standard flags. The upper 8 bits are reserved for SoC specific flags.