Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
nPM2100-specific GPIO Flags More...
nPM2100 GPIO drive strength flags | |
nPM2100 GPIO drive strength flags | |
#define | NPM2100_GPIO_DRIVE_NORMAL (0U << 8U) |
Normal drive. | |
#define | NPM2100_GPIO_DRIVE_HIGH (1U << 8U) |
High drive. | |
nPM2100 GPIO debounce flags | |
nPM2100 GPIO debounce flags | |
#define | NPM2100_GPIO_DEBOUNCE_OFF (0U << 9U) |
Normal drive. | |
#define | NPM2100_GPIO_DEBOUNCE_ON (1U << 9U) |
High drive. | |
nPM2100-specific GPIO Flags
The drive flags are encoded in the 8 upper bits of gpio_dt_flags_t as follows:
#define NPM2100_GPIO_DEBOUNCE_OFF (0U << 9U) |
#include <zephyr/dt-bindings/gpio/nordic-npm2100-gpio.h>
Normal drive.
#define NPM2100_GPIO_DEBOUNCE_ON (1U << 9U) |
#include <zephyr/dt-bindings/gpio/nordic-npm2100-gpio.h>
High drive.
#define NPM2100_GPIO_DRIVE_HIGH (1U << 8U) |
#include <zephyr/dt-bindings/gpio/nordic-npm2100-gpio.h>
High drive.
#define NPM2100_GPIO_DRIVE_NORMAL (0U << 8U) |
#include <zephyr/dt-bindings/gpio/nordic-npm2100-gpio.h>
Normal drive.