STM32F479xx HAL User Manual
Defines
AHB2 Force Release Reset
RCCEx Exported Macros

Force or release AHB2 peripheral reset. More...

Defines

#define __HAL_RCC_AHB2_FORCE_RESET()   (RCC->AHB2RSTR = 0xFFFFFFFFU)
#define __HAL_RCC_USB_OTG_FS_FORCE_RESET()   (RCC->AHB2RSTR |= (RCC_AHB2RSTR_OTGFSRST))
#define __HAL_RCC_RNG_FORCE_RESET()   (RCC->AHB2RSTR |= (RCC_AHB2RSTR_RNGRST))
#define __HAL_RCC_DCMI_FORCE_RESET()   (RCC->AHB2RSTR |= (RCC_AHB2RSTR_DCMIRST))
#define __HAL_RCC_AHB2_RELEASE_RESET()   (RCC->AHB2RSTR = 0x00U)
#define __HAL_RCC_USB_OTG_FS_RELEASE_RESET()   (RCC->AHB2RSTR &= ~(RCC_AHB2RSTR_OTGFSRST))
#define __HAL_RCC_RNG_RELEASE_RESET()   (RCC->AHB2RSTR &= ~(RCC_AHB2RSTR_RNGRST))
#define __HAL_RCC_DCMI_RELEASE_RESET()   (RCC->AHB2RSTR &= ~(RCC_AHB2RSTR_DCMIRST))
#define __HAL_RCC_CRYP_FORCE_RESET()   (RCC->AHB2RSTR |= (RCC_AHB2RSTR_CRYPRST))
#define __HAL_RCC_HASH_FORCE_RESET()   (RCC->AHB2RSTR |= (RCC_AHB2RSTR_HASHRST))
#define __HAL_RCC_CRYP_RELEASE_RESET()   (RCC->AHB2RSTR &= ~(RCC_AHB2RSTR_CRYPRST))
#define __HAL_RCC_HASH_RELEASE_RESET()   (RCC->AHB2RSTR &= ~(RCC_AHB2RSTR_HASHRST))

Detailed Description

Force or release AHB2 peripheral reset.


Define Documentation

#define __HAL_RCC_AHB2_FORCE_RESET ( )    (RCC->AHB2RSTR = 0xFFFFFFFFU)

Definition at line 1701 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_DeInit().

#define __HAL_RCC_AHB2_RELEASE_RESET ( )    (RCC->AHB2RSTR = 0x00U)

Definition at line 1706 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_DeInit().

#define __HAL_RCC_CRYP_FORCE_RESET ( )    (RCC->AHB2RSTR |= (RCC_AHB2RSTR_CRYPRST))

Definition at line 1712 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_CRYP_RELEASE_RESET ( )    (RCC->AHB2RSTR &= ~(RCC_AHB2RSTR_CRYPRST))

Definition at line 1715 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_DCMI_FORCE_RESET ( )    (RCC->AHB2RSTR |= (RCC_AHB2RSTR_DCMIRST))

Definition at line 1704 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_DCMI_RELEASE_RESET ( )    (RCC->AHB2RSTR &= ~(RCC_AHB2RSTR_DCMIRST))

Definition at line 1709 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_HASH_FORCE_RESET ( )    (RCC->AHB2RSTR |= (RCC_AHB2RSTR_HASHRST))

Definition at line 1713 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_HASH_RELEASE_RESET ( )    (RCC->AHB2RSTR &= ~(RCC_AHB2RSTR_HASHRST))

Definition at line 1716 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_RNG_FORCE_RESET ( )    (RCC->AHB2RSTR |= (RCC_AHB2RSTR_RNGRST))

Definition at line 1703 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_RNG_RELEASE_RESET ( )    (RCC->AHB2RSTR &= ~(RCC_AHB2RSTR_RNGRST))

Definition at line 1708 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_USB_OTG_FS_FORCE_RESET ( )    (RCC->AHB2RSTR |= (RCC_AHB2RSTR_OTGFSRST))

Definition at line 1702 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_USB_OTG_FS_RELEASE_RESET ( )    (RCC->AHB2RSTR &= ~(RCC_AHB2RSTR_OTGFSRST))

Definition at line 1707 of file stm32f4xx_hal_rcc_ex.h.