Force or release APB1 peripheral reset.
More...
Force or release APB1 peripheral reset.
◆ __HAL_RCC_APB1_FORCE_RESET
#define __HAL_RCC_APB1_FORCE_RESET |
( |
| ) |
(RCC->APB1RSTR = 0xFFFFFFFFU) |
◆ __HAL_RCC_TIM5_FORCE_RESET
#define __HAL_RCC_TIM5_FORCE_RESET |
( |
| ) |
(RCC->APB1RSTR |= (RCC_APB1RSTR_TIM5RST)) |
◆ __HAL_RCC_WWDG_FORCE_RESET
#define __HAL_RCC_WWDG_FORCE_RESET |
( |
| ) |
(RCC->APB1RSTR |= (RCC_APB1RSTR_WWDGRST)) |
◆ __HAL_RCC_SPI2_FORCE_RESET
#define __HAL_RCC_SPI2_FORCE_RESET |
( |
| ) |
(RCC->APB1RSTR |= (RCC_APB1RSTR_SPI2RST)) |
◆ __HAL_RCC_USART2_FORCE_RESET
#define __HAL_RCC_USART2_FORCE_RESET |
( |
| ) |
(RCC->APB1RSTR |= (RCC_APB1RSTR_USART2RST)) |
◆ __HAL_RCC_I2C1_FORCE_RESET
#define __HAL_RCC_I2C1_FORCE_RESET |
( |
| ) |
(RCC->APB1RSTR |= (RCC_APB1RSTR_I2C1RST)) |
◆ __HAL_RCC_I2C2_FORCE_RESET
#define __HAL_RCC_I2C2_FORCE_RESET |
( |
| ) |
(RCC->APB1RSTR |= (RCC_APB1RSTR_I2C2RST)) |
◆ __HAL_RCC_PWR_FORCE_RESET
#define __HAL_RCC_PWR_FORCE_RESET |
( |
| ) |
(RCC->APB1RSTR |= (RCC_APB1RSTR_PWRRST)) |
◆ __HAL_RCC_APB1_RELEASE_RESET
#define __HAL_RCC_APB1_RELEASE_RESET |
( |
| ) |
(RCC->APB1RSTR = 0x00U) |
◆ __HAL_RCC_TIM5_RELEASE_RESET
#define __HAL_RCC_TIM5_RELEASE_RESET |
( |
| ) |
(RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM5RST)) |
◆ __HAL_RCC_WWDG_RELEASE_RESET
#define __HAL_RCC_WWDG_RELEASE_RESET |
( |
| ) |
(RCC->APB1RSTR &= ~(RCC_APB1RSTR_WWDGRST)) |
◆ __HAL_RCC_SPI2_RELEASE_RESET
#define __HAL_RCC_SPI2_RELEASE_RESET |
( |
| ) |
(RCC->APB1RSTR &= ~(RCC_APB1RSTR_SPI2RST)) |
◆ __HAL_RCC_USART2_RELEASE_RESET
#define __HAL_RCC_USART2_RELEASE_RESET |
( |
| ) |
(RCC->APB1RSTR &= ~(RCC_APB1RSTR_USART2RST)) |
◆ __HAL_RCC_I2C1_RELEASE_RESET
#define __HAL_RCC_I2C1_RELEASE_RESET |
( |
| ) |
(RCC->APB1RSTR &= ~(RCC_APB1RSTR_I2C1RST)) |
◆ __HAL_RCC_I2C2_RELEASE_RESET
#define __HAL_RCC_I2C2_RELEASE_RESET |
( |
| ) |
(RCC->APB1RSTR &= ~(RCC_APB1RSTR_I2C2RST)) |
◆ __HAL_RCC_PWR_RELEASE_RESET
#define __HAL_RCC_PWR_RELEASE_RESET |
( |
| ) |
(RCC->APB1RSTR &= ~(RCC_APB1RSTR_PWRRST)) |