Zephyr API Documentation
4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
nordic-nrf-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_NRF_GPIO_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NRF_GPIO_H_
8
41
#define NRF_GPIO_DRIVE_MSK 0x0300U
45
#define NRF_GPIO_DRIVE_S0 (0U << 8U)
47
#define NRF_GPIO_DRIVE_H0 (1U << 8U)
49
#define NRF_GPIO_DRIVE_S1 (0U << 9U)
51
#define NRF_GPIO_DRIVE_H1 (1U << 9U)
53
#define NRF_GPIO_DRIVE_S0S1 (NRF_GPIO_DRIVE_S0 | NRF_GPIO_DRIVE_S1)
55
#define NRF_GPIO_DRIVE_S0H1 (NRF_GPIO_DRIVE_S0 | NRF_GPIO_DRIVE_H1)
57
#define NRF_GPIO_DRIVE_H0S1 (NRF_GPIO_DRIVE_H0 | NRF_GPIO_DRIVE_S1)
59
#define NRF_GPIO_DRIVE_H0H1 (NRF_GPIO_DRIVE_H0 | NRF_GPIO_DRIVE_H1)
60
65
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NORDIC_NRF_GPIO_H_ */
zephyr
dt-bindings
gpio
nordic-nrf-gpio.h
Generated on Sat Nov 9 2024 00:03:12 for Zephyr API Documentation by
1.12.0