Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
NPM1300 Devicetree helpers.

NPM1300 Regulator modes

#define NPM1300_BUCK_MODE_AUTO   0x00U
 
#define NPM1300_BUCK_MODE_PWM   0x01U
 
#define NPM1300_BUCK_MODE_PFM   0x04U
 
#define NPM1300_LDSW_MODE_LDO   0x02U
 
#define NPM1300_LDSW_MODE_LDSW   0x03U
 
#define NPM1300_GPIO_CHAN_NONE   0x00U
 
#define NPM1300_GPIO_CHAN_0   0x01U
 
#define NPM1300_GPIO_CHAN_1   0x02U
 
#define NPM1300_GPIO_CHAN_2   0x03U
 
#define NPM1300_GPIO_CHAN_3   0x04U
 
#define NPM1300_GPIO_CHAN_4   0x05U
 

Detailed Description

Macro Definition Documentation

◆ NPM1300_BUCK_MODE_AUTO

#define NPM1300_BUCK_MODE_AUTO   0x00U

◆ NPM1300_BUCK_MODE_PFM

#define NPM1300_BUCK_MODE_PFM   0x04U

◆ NPM1300_BUCK_MODE_PWM

#define NPM1300_BUCK_MODE_PWM   0x01U

◆ NPM1300_GPIO_CHAN_0

#define NPM1300_GPIO_CHAN_0   0x01U

◆ NPM1300_GPIO_CHAN_1

#define NPM1300_GPIO_CHAN_1   0x02U

◆ NPM1300_GPIO_CHAN_2

#define NPM1300_GPIO_CHAN_2   0x03U

◆ NPM1300_GPIO_CHAN_3

#define NPM1300_GPIO_CHAN_3   0x04U

◆ NPM1300_GPIO_CHAN_4

#define NPM1300_GPIO_CHAN_4   0x05U

◆ NPM1300_GPIO_CHAN_NONE

#define NPM1300_GPIO_CHAN_NONE   0x00U

◆ NPM1300_LDSW_MODE_LDO

#define NPM1300_LDSW_MODE_LDO   0x02U

◆ NPM1300_LDSW_MODE_LDSW

#define NPM1300_LDSW_MODE_LDSW   0x03U