Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
nordic-npm1300-gpio.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#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NPM1300_GPIO_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NPM1300_GPIO_H_
8
33#define NPM1300_GPIO_DRIVE_MSK 0x0100U
37#define NPM1300_GPIO_DRIVE_1MA (0U << 8U)
39#define NPM1300_GPIO_DRIVE_6MA (1U << 8U)
40
51#define NPM1300_GPIO_DEBOUNCE_MSK 0x0200U
55#define NPM1300_GPIO_DEBOUNCE_OFF (0U << 9U)
57#define NPM1300_GPIO_DEBOUNCE_ON (1U << 9U)
58
69#define NPM1300_GPIO_WDT_RESET_MSK 0x0400U
73#define NPM1300_GPIO_WDT_RESET_OFF (0U << 10U)
75#define NPM1300_GPIO_WDT_RESET_ON (1U << 10U)
76
87#define NPM1300_GPIO_PWRLOSSWARN_MSK 0x0800U
91#define NPM1300_GPIO_PWRLOSSWARN_OFF (0U << 11U)
93#define NPM1300_GPIO_PWRLOSSWARN_ON (1U << 11U)
94
99#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NPM1300_GPIO_H_ */