Zephyr Project API
4.1.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stm32-gpio.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 STMicroelectronics
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_STM32_GPIO_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_STM32_GPIO_H_
9
28
#define STM32_GPIO_WKUP (1 << 8)
29
31
#define STM32_GPIO_SPEED_SHIFT 9
32
#define STM32_GPIO_SPEED_MASK 0x3
36
#define STM32_GPIO_LOW_SPEED (0x0 << STM32_GPIO_SPEED_SHIFT)
37
39
#define STM32_GPIO_MEDIUM_SPEED (0x1 << STM32_GPIO_SPEED_SHIFT)
40
42
#define STM32_GPIO_HIGH_SPEED (0x2 << STM32_GPIO_SPEED_SHIFT)
43
45
#define STM32_GPIO_VERY_HIGH_SPEED (0x3 << STM32_GPIO_SPEED_SHIFT)
46
49
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_STM32_GPIO_H_ */
include
zephyr
dt-bindings
gpio
stm32-gpio.h
Generated on Sun Mar 30 2025 16:03:57 for Zephyr Project API by
1.9.8