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

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

Definition at line 1262 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1259 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1258 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1266 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1265 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1273 of file stm32f4xx_hal_rcc_ex.h.

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

Definition at line 1272 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 1270 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 1269 of file stm32f4xx_hal_rcc_ex.h.