Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
npm1300.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_NPM1300_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM1300_H_
9
20/* Buck modes */
21#define NPM1300_BUCK_MODE_AUTO 0x00U
22#define NPM1300_BUCK_MODE_PWM 0x01U
23#define NPM1300_BUCK_MODE_PFM 0x04U
24
25/* LDSW / LDO modes */
26#define NPM1300_LDSW_MODE_LDO 0x02U
27#define NPM1300_LDSW_MODE_LDSW 0x03U
28
29/* GPIO control configuration */
30#define NPM1300_GPIO_CHAN_NONE 0x00U
31#define NPM1300_GPIO_CHAN_0 0x01U
32#define NPM1300_GPIO_CHAN_1 0x02U
33#define NPM1300_GPIO_CHAN_2 0x03U
34#define NPM1300_GPIO_CHAN_3 0x04U
35#define NPM1300_GPIO_CHAN_4 0x05U
36
41#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM1300_H_*/