Zephyr API Documentation
3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ite-it8xxx2-gpio.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Vestas Wind Systems A/S
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_ITE_IT8XXX2_GPIO_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_ITE_IT8XXX2_GPIO_H_
8
19
#define IT8XXX2_GPIO_VOLTAGE_POS 11
20
#define IT8XXX2_GPIO_VOLTAGE_MASK (3U << IT8XXX2_GPIO_VOLTAGE_POS)
24
#define IT8XXX2_GPIO_VOLTAGE_DEFAULT (0U << IT8XXX2_GPIO_VOLTAGE_POS)
26
#define IT8XXX2_GPIO_VOLTAGE_1P8 (1U << IT8XXX2_GPIO_VOLTAGE_POS)
28
#define IT8XXX2_GPIO_VOLTAGE_3P3 (2U << IT8XXX2_GPIO_VOLTAGE_POS)
30
#define IT8XXX2_GPIO_VOLTAGE_5P0 (3U << IT8XXX2_GPIO_VOLTAGE_POS)
31
34
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_ITE_IT8XXX2_GPIO_H_ */
zephyr
dt-bindings
gpio
ite-it8xxx2-gpio.h
Generated on Sun Sep 8 2024 00:06:29 for Zephyr API Documentation by
1.12.0