Line data Source code
1 0 : /*
2 : * Copyright (c) 2025 Renesas Electronics Corporation
3 : * SPDX-License-Identifier: Apache-2.0
4 : */
5 :
6 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_RENESAS_RZA2M_GPIO_H_
7 : #define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_RENESAS_RZA2M_GPIO_H_
8 :
9 : /**
10 : * @brief RZ/A2M specific GPIO Flags
11 : *
12 : * The drive flags are encoded in the 8 upper bits of @ref gpio_dt_flags_t as
13 : * follows:
14 : *
15 : * - Bit 8: Drive strength
16 : */
17 :
18 : /** Normal drive */
19 1 : #define RZA2M_GPIO_DRIVE_NORMAL (0U << 8U)
20 : /** High drive */
21 1 : #define RZA2M_GPIO_DRIVE_HIGH (1U << 8U)
22 :
23 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_RENESAS_RZA2M_GPIO_H_ */
|