Go to the source code of this file.
◆ STM32_RESET
#define STM32_RESET |
( |
| per, |
|
|
| bit ) |
Value:(((STM32_RESET_PERIPH_##per##) << 5U) | (bit))
Pack RCC register offset and bit in one 32-bit value.
5 LSBs are used to keep bit number in 32-bit RCC register. Next 12 bits are used to keep RCC register offset. Remaining bits are unused.
- Parameters
-
per | STM32 peripheral name |
bit | Reset bit |
◆ STM32_RESET_PERIPH_UART4
#define STM32_RESET_PERIPH_UART4 0x788 |
◆ STM32_RESET_PERIPH_UART5
#define STM32_RESET_PERIPH_UART5 0x78C |
◆ STM32_RESET_PERIPH_UART7
#define STM32_RESET_PERIPH_UART7 0x794 |
◆ STM32_RESET_PERIPH_UART8
#define STM32_RESET_PERIPH_UART8 0x798 |
◆ STM32_RESET_PERIPH_UART9
#define STM32_RESET_PERIPH_UART9 0x79C |
◆ STM32_RESET_PERIPH_USART1
#define STM32_RESET_PERIPH_USART1 0x77C |
◆ STM32_RESET_PERIPH_USART2
#define STM32_RESET_PERIPH_USART2 0x780 |
◆ STM32_RESET_PERIPH_USART3
#define STM32_RESET_PERIPH_USART3 0x784 |
◆ STM32_RESET_PERIPH_USART6
#define STM32_RESET_PERIPH_USART6 0x790 |
◆ STM32_RST