STM32F479xx HAL User Manual
Defines
AHB2 Peripheral Clock Enable Disable Status
RCCEx Exported Macros

Get the enable or disable status of the AHB1 peripheral clock. More...

Defines

#define __HAL_RCC_DCMI_IS_CLK_ENABLED()   ((RCC->AHB2ENR & (RCC_AHB2ENR_DCMIEN)) != RESET)
#define __HAL_RCC_DCMI_IS_CLK_DISABLED()   ((RCC->AHB2ENR & (RCC_AHB2ENR_DCMIEN)) == RESET)
#define __HAL_RCC_CRYP_IS_CLK_ENABLED()   ((RCC->AHB2ENR & (RCC_AHB2ENR_CRYPEN)) != RESET)
#define __HAL_RCC_CRYP_IS_CLK_DISABLED()   ((RCC->AHB2ENR & (RCC_AHB2ENR_CRYPEN)) == RESET)
#define __HAL_RCC_HASH_IS_CLK_ENABLED()   ((RCC->AHB2ENR & (RCC_AHB2ENR_HASHEN)) != RESET)
#define __HAL_RCC_HASH_IS_CLK_DISABLED()   ((RCC->AHB2ENR & (RCC_AHB2ENR_HASHEN)) == RESET)
#define __HAL_RCC_USB_OTG_FS_IS_CLK_ENABLED()   ((RCC->AHB2ENR & (RCC_AHB2ENR_OTGFSEN)) != RESET)
#define __HAL_RCC_USB_OTG_FS_IS_CLK_DISABLED()   ((RCC->AHB2ENR & (RCC_AHB2ENR_OTGFSEN)) == RESET)
#define __HAL_RCC_RNG_IS_CLK_ENABLED()   ((RCC->AHB2ENR & (RCC_AHB2ENR_RNGEN)) != RESET)
#define __HAL_RCC_RNG_IS_CLK_DISABLED()   ((RCC->AHB2ENR & (RCC_AHB2ENR_RNGEN)) == RESET)

Detailed Description

Get the enable or disable status of the AHB1 peripheral clock.

Note:
After reset, the peripheral clock (used for registers read/write access) is disabled and the application software has to enable this clock before using it.

Define Documentation

#define __HAL_RCC_CRYP_IS_CLK_DISABLED ( )    ((RCC->AHB2ENR & (RCC_AHB2ENR_CRYPEN)) == RESET)

Definition at line 1247 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_CRYP_IS_CLK_ENABLED ( )    ((RCC->AHB2ENR & (RCC_AHB2ENR_CRYPEN)) != RESET)

Definition at line 1246 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_DCMI_IS_CLK_DISABLED ( )    ((RCC->AHB2ENR & (RCC_AHB2ENR_DCMIEN)) == RESET)

Definition at line 1243 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_DCMI_IS_CLK_ENABLED ( )    ((RCC->AHB2ENR & (RCC_AHB2ENR_DCMIEN)) != RESET)

Definition at line 1242 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_HASH_IS_CLK_DISABLED ( )    ((RCC->AHB2ENR & (RCC_AHB2ENR_HASHEN)) == RESET)

Definition at line 1250 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_HASH_IS_CLK_ENABLED ( )    ((RCC->AHB2ENR & (RCC_AHB2ENR_HASHEN)) != RESET)

Definition at line 1249 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_RNG_IS_CLK_DISABLED ( )    ((RCC->AHB2ENR & (RCC_AHB2ENR_RNGEN)) == RESET)

Definition at line 1257 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_RNG_IS_CLK_ENABLED ( )    ((RCC->AHB2ENR & (RCC_AHB2ENR_RNGEN)) != RESET)

Definition at line 1256 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_USB_OTG_FS_IS_CLK_DISABLED ( )    ((RCC->AHB2ENR & (RCC_AHB2ENR_OTGFSEN)) == RESET)

Definition at line 1254 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_USB_OTG_FS_IS_CLK_ENABLED ( )    ((RCC->AHB2ENR & (RCC_AHB2ENR_OTGFSEN)) != RESET)

Definition at line 1253 of file stm32f4xx_hal_rcc_ex.h.