Zephyr API Documentation
4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
npm10xx.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026 Nordic Semiconductor ASA
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
6
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM10XX_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM10XX_H_
8
9
#include <
zephyr/sys/util_macro.h
>
10
18
24
#define NPM10XX_BUCK_PWRMODE_Msk BIT_MASK(2)
25
#define NPM10XX_BUCK_PASSTHRU_Msk (BIT_MASK(2) << 2)
28
#define NPM10XX_BUCK_PWRMODE_LP BIT(0)
30
#define NPM10XX_BUCK_PWRMODE_ULP BIT(1)
32
#define NPM10XX_BUCK_PASSTHRU_OFF BIT(2)
34
#define NPM10XX_BUCK_PASSTHRU_ON BIT(3)
36
42
#define NPM10XX_LDO_MODE_Msk BIT_MASK(2)
45
#define NPM10XX_LDO_MODE_LDO BIT(0)
47
#define NPM10XX_LDO_MODE_LS BIT(1)
49
57
#define NPM10XX_REG_GPIO_Msk (BIT_MASK(4) << 4)
60
#define NPM10XX_REG_GPIO_EN BIT(4)
62
#define NPM10XX_BUCK_GPIO_PWRMODE BIT(5)
64
#define NPM10XX_BUCK_GPIO_ALTVOUT BIT(6)
66
#define NPM10XX_REG_GPIO_NONE BIT(7)
68
70
71
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM10XX_H_ */
util_macro.h
Macro utilities.
zephyr
dt-bindings
regulator
npm10xx.h
Generated on
for Zephyr API Documentation by
1.16.1