Line data Source code
1 0 : /*
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_SNPS_DESIGNWARE_GPIO_H_
7 : #define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_SNPS_DESIGNWARE_GPIO_H_
8 :
9 : /**
10 : * @brief Enable GPIO pin debounce.
11 : *
12 : * The debounce flag is a Zephyr specific extension of the standard GPIO flags
13 : * specified by the Linux GPIO binding. Only applicable for SNPS DesignWare GPIO
14 : * controllers.
15 : */
16 1 : #define DW_GPIO_DEBOUNCE (1U << 8)
17 :
18 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_SNPS_DESIGNWARE_GPIO_H_ */
|