Go to the source code of this file.
◆ STM32_CLK
◆ STM32_CLOCK
#define STM32_CLOCK |
( |
| per, |
|
|
| bit ) |
Value:(STM32_CLOCK_PERIPH_##per) (1 << bit)
Pack RCC clock register offset and bit in two 32-bit values as expected for the Device Tree clocks property on STM32.
- Parameters
-
per | STM32 Peripheral name (expands to STM32_CLOCK_PERIPH_{PER}) |
bit | Clock bit |
◆ STM32_CLOCK_PERIPH_GPIOA
#define STM32_CLOCK_PERIPH_GPIOA 0x52C |
◆ STM32_CLOCK_PERIPH_GPIOB
#define STM32_CLOCK_PERIPH_GPIOB 0x530 |
◆ STM32_CLOCK_PERIPH_GPIOC
#define STM32_CLOCK_PERIPH_GPIOC 0x534 |
◆ STM32_CLOCK_PERIPH_GPIOD
#define STM32_CLOCK_PERIPH_GPIOD 0x538 |
◆ STM32_CLOCK_PERIPH_GPIOE
#define STM32_CLOCK_PERIPH_GPIOE 0x53C |
◆ STM32_CLOCK_PERIPH_GPIOF
#define STM32_CLOCK_PERIPH_GPIOF 0x540 |
◆ STM32_CLOCK_PERIPH_GPIOG
#define STM32_CLOCK_PERIPH_GPIOG 0x544 |
◆ STM32_CLOCK_PERIPH_GPIOH
#define STM32_CLOCK_PERIPH_GPIOH 0x548 |
◆ STM32_CLOCK_PERIPH_GPIOI
#define STM32_CLOCK_PERIPH_GPIOI 0x54C |
◆ STM32_CLOCK_PERIPH_GPIOJ
#define STM32_CLOCK_PERIPH_GPIOJ 0x550 |
◆ STM32_CLOCK_PERIPH_GPIOK
#define STM32_CLOCK_PERIPH_GPIOK 0x554 |
◆ STM32_CLOCK_PERIPH_GPIOZ
#define STM32_CLOCK_PERIPH_GPIOZ 0x558 |
◆ STM32_CLOCK_PERIPH_MAX
◆ STM32_CLOCK_PERIPH_MIN
◆ STM32_CLOCK_PERIPH_UART4
#define STM32_CLOCK_PERIPH_UART4 0x788 |
◆ STM32_CLOCK_PERIPH_UART5
#define STM32_CLOCK_PERIPH_UART5 0x78C |
◆ STM32_CLOCK_PERIPH_UART7
#define STM32_CLOCK_PERIPH_UART7 0x794 |
◆ STM32_CLOCK_PERIPH_UART8
#define STM32_CLOCK_PERIPH_UART8 0x798 |
◆ STM32_CLOCK_PERIPH_UART9
#define STM32_CLOCK_PERIPH_UART9 0x79C |
◆ STM32_CLOCK_PERIPH_USART1
#define STM32_CLOCK_PERIPH_USART1 0x77C |
◆ STM32_CLOCK_PERIPH_USART2
#define STM32_CLOCK_PERIPH_USART2 0x780 |
◆ STM32_CLOCK_PERIPH_USART3
#define STM32_CLOCK_PERIPH_USART3 0x784 |
◆ STM32_CLOCK_PERIPH_USART6
#define STM32_CLOCK_PERIPH_USART6 0x790 |
◆ STM32_LP_CLK