Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
npm2100.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM2100_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM2100_H_
9
20
/* Load switch selection, applies to LDOSW only */
21
#define NPM2100_REG_LDSW_EN 0x01U
22
23
/* DPS modes applies to BOOST only */
24
#define NPM2100_REG_DPS_MASK 0x03U
25
#define NPM2100_REG_DPS_ALLOW 0x01U
26
#define NPM2100_REG_DPS_ALLOWLP 0x02U
27
28
/* Operating mode */
29
#define NPM2100_REG_OPER_MASK 0x1CU
30
#define NPM2100_REG_OPER_AUTO 0x00U
31
#define NPM2100_REG_OPER_HP 0x04U
32
#define NPM2100_REG_OPER_LP 0x08U
33
#define NPM2100_REG_OPER_ULP 0x0CU
34
#define NPM2100_REG_OPER_PASS 0x10U
35
#define NPM2100_REG_OPER_NOHP 0x14U
36
#define NPM2100_REG_OPER_OFF 0x18U
37
38
/* Forced mode when GPIO active */
39
#define NPM2100_REG_FORCE_MASK 0xE0U
40
#define NPM2100_REG_FORCE_HP 0x20U
41
#define NPM2100_REG_FORCE_LP 0x40U
42
#define NPM2100_REG_FORCE_ULP 0x60U
43
#define NPM2100_REG_FORCE_PASS 0x80U
44
#define NPM2100_REG_FORCE_NOHP 0xA0U
45
50
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM2100_H_*/
zephyr
dt-bindings
regulator
npm2100.h
Generated on Sun Dec 22 2024 21:02:25 for Zephyr API Documentation by
1.12.0