Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
nordic-npm6001-gpio.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NPM6001_GPIO_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NPM6001_GPIO_H_
8
31#define NPM6001_GPIO_DRIVE_MSK 0x0100U
35#define NPM6001_GPIO_DRIVE_NORMAL (0U << 8U)
37#define NPM6001_GPIO_DRIVE_HIGH (1U << 8U)
38
49#define NPM6001_GPIO_SENSE_MSK 0x0200U
53#define NPM6001_GPIO_SENSE_SCHMITT (0U << 9U)
55#define NPM6001_GPIO_SENSE_CMOS (1U << 9U)
56
61#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NRF_GPIO_H_ */