Force or release AHB1 peripheral reset.
More...
Force or release AHB1 peripheral reset.
◆ __HAL_RCC_AHB1_FORCE_RESET
#define __HAL_RCC_AHB1_FORCE_RESET |
( |
| ) |
(RCC->AHB1RSTR = 0xFFFFFFFFU) |
◆ __HAL_RCC_GPIOA_FORCE_RESET
#define __HAL_RCC_GPIOA_FORCE_RESET |
( |
| ) |
(RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOARST)) |
◆ __HAL_RCC_GPIOB_FORCE_RESET
#define __HAL_RCC_GPIOB_FORCE_RESET |
( |
| ) |
(RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOBRST)) |
◆ __HAL_RCC_GPIOC_FORCE_RESET
#define __HAL_RCC_GPIOC_FORCE_RESET |
( |
| ) |
(RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOCRST)) |
◆ __HAL_RCC_GPIOH_FORCE_RESET
#define __HAL_RCC_GPIOH_FORCE_RESET |
( |
| ) |
(RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOHRST)) |
◆ __HAL_RCC_DMA1_FORCE_RESET
#define __HAL_RCC_DMA1_FORCE_RESET |
( |
| ) |
(RCC->AHB1RSTR |= (RCC_AHB1RSTR_DMA1RST)) |
◆ __HAL_RCC_DMA2_FORCE_RESET
#define __HAL_RCC_DMA2_FORCE_RESET |
( |
| ) |
(RCC->AHB1RSTR |= (RCC_AHB1RSTR_DMA2RST)) |
◆ __HAL_RCC_AHB1_RELEASE_RESET
#define __HAL_RCC_AHB1_RELEASE_RESET |
( |
| ) |
(RCC->AHB1RSTR = 0x00U) |
◆ __HAL_RCC_GPIOA_RELEASE_RESET
#define __HAL_RCC_GPIOA_RELEASE_RESET |
( |
| ) |
(RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOARST)) |
◆ __HAL_RCC_GPIOB_RELEASE_RESET
#define __HAL_RCC_GPIOB_RELEASE_RESET |
( |
| ) |
(RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOBRST)) |
◆ __HAL_RCC_GPIOC_RELEASE_RESET
#define __HAL_RCC_GPIOC_RELEASE_RESET |
( |
| ) |
(RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOCRST)) |
◆ __HAL_RCC_GPIOH_RELEASE_RESET
#define __HAL_RCC_GPIOH_RELEASE_RESET |
( |
| ) |
(RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOHRST)) |
◆ __HAL_RCC_DMA1_RELEASE_RESET
#define __HAL_RCC_DMA1_RELEASE_RESET |
( |
| ) |
(RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_DMA1RST)) |
◆ __HAL_RCC_DMA2_RELEASE_RESET
#define __HAL_RCC_DMA2_RELEASE_RESET |
( |
| ) |
(RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_DMA2RST)) |