Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
realtek-gpio.h
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: Apache-2.0
3
*
4
* Copyright (c) 2024 Realtek Semiconductor Corporation, SIBG-SD7
5
* Author: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
6
*/
7
8
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_REALTEK_GPIO_H_
9
#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_REALTEK_GPIO_H_
10
11
#define RTS5912_GPIO_VOLTAGE_POS 11
12
#define RTS5912_GPIO_VOLTAGE_MASK (3U << RTS5912_GPIO_VOLTAGE_POS)
13
15
#define RTS5912_GPIO_VOLTAGE_DEFAULT (0U << RTS5912_GPIO_VOLTAGE_POS)
17
#define RTS5912_GPIO_VOLTAGE_1V8 (1U << RTS5912_GPIO_VOLTAGE_POS)
19
#define RTS5912_GPIO_VOLTAGE_3V3 (2U << RTS5912_GPIO_VOLTAGE_POS)
21
#define RTS5912_GPIO_VOLTAGE_5V0 (3U << RTS5912_GPIO_VOLTAGE_POS)
22
23
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_REALTEK_GPIO_H_ */
zephyr
dt-bindings
gpio
realtek-gpio.h
Generated on Sat Jan 18 2025 21:02:30 for Zephyr API Documentation by
1.12.0