|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
The flags are encoded in the 8 upper bits of gpio_dt_flags_t as follows: More...
nPM10xx GPIO drive strength flags | |
| #define | NPM10XX_GPIO_DRIVE_NORMAL (0U << 8U) |
| Normal (2mA) drive. | |
| #define | NPM10XX_GPIO_DRIVE_HIGH (1U << 8U) |
| High (4mA) drive. | |
nPM10xx GPIO debounce flags | |
| #define | NPM10XX_GPIO_DEBOUNCE_OFF (0U << 9U) |
| Debounce off. | |
| #define | NPM10XX_GPIO_DEBOUNCE_ON (1U << 9U) |
| Debounce on. | |
The flags are encoded in the 8 upper bits of gpio_dt_flags_t as follows:
| #define NPM10XX_GPIO_DEBOUNCE_OFF (0U << 9U) |
#include <zephyr/dt-bindings/gpio/nordic-npm10xx-gpio.h>
Debounce off.
| #define NPM10XX_GPIO_DEBOUNCE_ON (1U << 9U) |
#include <zephyr/dt-bindings/gpio/nordic-npm10xx-gpio.h>
Debounce on.
| #define NPM10XX_GPIO_DRIVE_HIGH (1U << 8U) |
#include <zephyr/dt-bindings/gpio/nordic-npm10xx-gpio.h>
High (4mA) drive.
| #define NPM10XX_GPIO_DRIVE_NORMAL (0U << 8U) |
#include <zephyr/dt-bindings/gpio/nordic-npm10xx-gpio.h>
Normal (2mA) drive.