STM32F439xx 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 1717 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_DeInit().

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

Definition at line 1722 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 1728 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1731 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1720 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1725 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1729 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1732 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1719 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1724 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1718 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1723 of file stm32f4xx_hal_rcc_ex.h.