Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
npm2100.h File Reference

Go to the source code of this file.

Macros

NPM2100 Regulator modes
#define NPM2100_REG_LDSW_EN   0x01U
 
#define NPM2100_REG_DPS_MASK   0x03U
 
#define NPM2100_REG_DPS_ALLOW   0x01U
 
#define NPM2100_REG_DPS_ALLOWLP   0x02U
 
#define NPM2100_REG_OPER_MASK   0x1CU
 
#define NPM2100_REG_OPER_AUTO   0x00U
 
#define NPM2100_REG_OPER_HP   0x04U
 
#define NPM2100_REG_OPER_LP   0x08U
 
#define NPM2100_REG_OPER_ULP   0x0CU
 
#define NPM2100_REG_OPER_PASS   0x10U
 
#define NPM2100_REG_OPER_NOHP   0x14U
 
#define NPM2100_REG_OPER_OFF   0x18U
 
#define NPM2100_REG_FORCE_MASK   0xE0U
 
#define NPM2100_REG_FORCE_HP   0x20U
 
#define NPM2100_REG_FORCE_LP   0x40U
 
#define NPM2100_REG_FORCE_ULP   0x60U
 
#define NPM2100_REG_FORCE_PASS   0x80U
 
#define NPM2100_REG_FORCE_NOHP   0xA0U