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_ATMEL_SAM_GPIO_H_
7 : #define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_ATMEL_SAM_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 Atmel SAM SoCs.
14 : */
15 1 : #define SAM_GPIO_DEBOUNCE (1U << 8)
16 :
17 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_ATMEL_SAM_GPIO_H_ */
|