Zephyr Project API  3.4.0
A Scalable Open Source RTOS
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
31#define NPM1300_GPIO_DRIVE_MSK 0x0100U
35#define NPM1300_GPIO_DRIVE_1MA (0U << 8U)
37#define NPM1300_GPIO_DRIVE_6MA (1U << 8U)
38
49#define NPM1300_GPIO_DEBOUNCE_MSK 0x0200U
53#define NPM1300_GPIO_DEBOUNCE_OFF (0U << 9U)
55#define NPM1300_GPIO_DEBOUNCE_ON (1U << 9U)
56
61#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NPM1300_GPIO_H_ */