STM32F479xx HAL User Manual
|
Enable or disable the AHB2 peripheral clock. More...
Defines | |
#define | __HAL_RCC_DCMI_CLK_ENABLE() |
#define | __HAL_RCC_DCMI_CLK_DISABLE() (RCC->AHB2ENR &= ~(RCC_AHB2ENR_DCMIEN)) |
#define | __HAL_RCC_CRYP_CLK_ENABLE() |
#define | __HAL_RCC_HASH_CLK_ENABLE() |
#define | __HAL_RCC_CRYP_CLK_DISABLE() (RCC->AHB2ENR &= ~(RCC_AHB2ENR_CRYPEN)) |
#define | __HAL_RCC_HASH_CLK_DISABLE() (RCC->AHB2ENR &= ~(RCC_AHB2ENR_HASHEN)) |
#define | __HAL_RCC_USB_OTG_FS_CLK_ENABLE() |
#define | __HAL_RCC_USB_OTG_FS_CLK_DISABLE() (RCC->AHB2ENR &= ~(RCC_AHB2ENR_OTGFSEN)) |
#define | __HAL_RCC_RNG_CLK_ENABLE() |
#define | __HAL_RCC_RNG_CLK_DISABLE() (RCC->AHB2ENR &= ~(RCC_AHB2ENR_RNGEN)) |
Enable or disable the AHB2 peripheral clock.
#define __HAL_RCC_CRYP_CLK_DISABLE | ( | ) | (RCC->AHB2ENR &= ~(RCC_AHB2ENR_CRYPEN)) |
Definition at line 1213 of file stm32f4xx_hal_rcc_ex.h.
#define __HAL_RCC_CRYP_CLK_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ SET_BIT(RCC->AHB2ENR, RCC_AHB2ENR_CRYPEN);\ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_CRYPEN);\ UNUSED(tmpreg); \ } while(0U)
Definition at line 1198 of file stm32f4xx_hal_rcc_ex.h.
#define __HAL_RCC_DCMI_CLK_DISABLE | ( | ) | (RCC->AHB2ENR &= ~(RCC_AHB2ENR_DCMIEN)) |
Definition at line 1195 of file stm32f4xx_hal_rcc_ex.h.
#define __HAL_RCC_DCMI_CLK_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ SET_BIT(RCC->AHB2ENR, RCC_AHB2ENR_DCMIEN);\ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_DCMIEN);\ UNUSED(tmpreg); \ } while(0U)
Definition at line 1188 of file stm32f4xx_hal_rcc_ex.h.
#define __HAL_RCC_HASH_CLK_DISABLE | ( | ) | (RCC->AHB2ENR &= ~(RCC_AHB2ENR_HASHEN)) |
Definition at line 1214 of file stm32f4xx_hal_rcc_ex.h.
#define __HAL_RCC_HASH_CLK_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ SET_BIT(RCC->AHB2ENR, RCC_AHB2ENR_HASHEN);\ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_HASHEN);\ UNUSED(tmpreg); \ } while(0U)
Definition at line 1205 of file stm32f4xx_hal_rcc_ex.h.
#define __HAL_RCC_RNG_CLK_DISABLE | ( | ) | (RCC->AHB2ENR &= ~(RCC_AHB2ENR_RNGEN)) |
Definition at line 1230 of file stm32f4xx_hal_rcc_ex.h.
#define __HAL_RCC_RNG_CLK_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg = 0x00U; \ SET_BIT(RCC->AHB2ENR, RCC_AHB2ENR_RNGEN);\ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_RNGEN);\ UNUSED(tmpreg); \ } while(0U)
Definition at line 1223 of file stm32f4xx_hal_rcc_ex.h.
#define __HAL_RCC_USB_OTG_FS_CLK_DISABLE | ( | ) | (RCC->AHB2ENR &= ~(RCC_AHB2ENR_OTGFSEN)) |
Definition at line 1221 of file stm32f4xx_hal_rcc_ex.h.
#define __HAL_RCC_USB_OTG_FS_CLK_ENABLE | ( | ) |
do {(RCC->AHB2ENR |= (RCC_AHB2ENR_OTGFSEN));\ __HAL_RCC_SYSCFG_CLK_ENABLE();\ }while(0U)
Definition at line 1217 of file stm32f4xx_hal_rcc_ex.h.