|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
Nordic's nPM10 Series PMIC regulator driver Devicetree helpers. More...
#include <zephyr/sys/util_macro.h>Go to the source code of this file.
Macros | |
nPM10xx BUCK regulator modes | |
| #define | NPM10XX_BUCK_PWRMODE_LP BIT(0) |
| BUCK Low Power mode. | |
| #define | NPM10XX_BUCK_PWRMODE_ULP BIT(1) |
| BUCK Ultra-Low Power mode. | |
| #define | NPM10XX_BUCK_PASSTHRU_OFF BIT(2) |
| BUCK disable Pass-through mode. | |
| #define | NPM10XX_BUCK_PASSTHRU_ON BIT(3) |
| BUCK enable Pass-through mode. | |
nPM10xx LDO regulator modes | |
| #define | NPM10XX_LDO_MODE_LDO BIT(0) |
| LDO mode. | |
| #define | NPM10XX_LDO_MODE_LS BIT(1) |
| Load Switch mode. | |
nPM10xx regulator GPIO control | |
Multiple GPIO control flags can be combined on the BUCK regulator. | |
| #define | NPM10XX_REG_GPIO_EN BIT(4) |
| Turn on enable GPIO control of a regulator. | |
| #define | NPM10XX_BUCK_GPIO_PWRMODE BIT(5) |
| Turn on power mode switching GPIO control of BUCK. | |
| #define | NPM10XX_BUCK_GPIO_ALTVOUT BIT(6) |
| Turn on alternate VOUT switching GPIO control of BUCK. | |
| #define | NPM10XX_REG_GPIO_NONE BIT(7) |
| Disable all GPIO control of a regulator. | |
Nordic's nPM10 Series PMIC regulator driver Devicetree helpers.