Zephyr API Documentation
4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
nordic-npm13xx-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_NPM13XX_GPIO_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NPM13XX_GPIO_H_
8
24
30
33
#define NPM13XX_GPIO_DRIVE_MSK 0x0100U
35
37
#define NPM13XX_GPIO_DRIVE_1MA (0U << 8U)
39
#define NPM13XX_GPIO_DRIVE_6MA (1U << 8U)
40
42
48
51
#define NPM13XX_GPIO_DEBOUNCE_MSK 0x0200U
53
55
#define NPM13XX_GPIO_DEBOUNCE_OFF (0U << 9U)
57
#define NPM13XX_GPIO_DEBOUNCE_ON (1U << 9U)
58
60
66
69
#define NPM13XX_GPIO_WDT_RESET_MSK 0x0400U
71
73
#define NPM13XX_GPIO_WDT_RESET_OFF (0U << 10U)
75
#define NPM13XX_GPIO_WDT_RESET_ON (1U << 10U)
76
78
84
87
#define NPM13XX_GPIO_PWRLOSSWARN_MSK 0x0800U
89
91
#define NPM13XX_GPIO_PWRLOSSWARN_OFF (0U << 11U)
93
#define NPM13XX_GPIO_PWRLOSSWARN_ON (1U << 11U)
94
96
98
99
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NPM13XX_GPIO_H_ */
zephyr
dt-bindings
gpio
nordic-npm13xx-gpio.h
Generated on
for Zephyr API Documentation by
1.14.0