Zephyr API Documentation
4.4.99
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
11
12
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM10XX_H_
13
#define ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM10XX_H_
14
15
#include <
zephyr/sys/util_macro.h
>
16
23
29
#define NPM10XX_BUCK_PWRMODE_Msk BIT_MASK(2)
30
#define NPM10XX_BUCK_PASSTHRU_Msk (BIT_MASK(2) << 2)
33
#define NPM10XX_BUCK_PWRMODE_LP BIT(0)
35
#define NPM10XX_BUCK_PWRMODE_ULP BIT(1)
37
#define NPM10XX_BUCK_PASSTHRU_OFF BIT(2)
39
#define NPM10XX_BUCK_PASSTHRU_ON BIT(3)
41
47
#define NPM10XX_LDO_MODE_Msk BIT_MASK(2)
50
#define NPM10XX_LDO_MODE_LDO BIT(0)
52
#define NPM10XX_LDO_MODE_LS BIT(1)
54
62
#define NPM10XX_REG_GPIO_Msk (BIT_MASK(4) << 4)
65
#define NPM10XX_REG_GPIO_EN BIT(4)
67
#define NPM10XX_BUCK_GPIO_PWRMODE BIT(5)
69
#define NPM10XX_BUCK_GPIO_ALTVOUT BIT(6)
71
#define NPM10XX_REG_GPIO_NONE BIT(7)
73
75
76
#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