STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros
AHB1 Peripheral Clock Sleep Enable Disable Status

Get the enable or disable status of the AHB1 peripheral clock during Low Power (Sleep) mode. More...

Macros

#define __HAL_RCC_CRC_IS_CLK_SLEEP_ENABLED()    ((RCC->AHB1LPENR & (RCC_AHB1LPENR_CRCLPEN)) != RESET)
 
#define __HAL_RCC_DMA1_IS_CLK_SLEEP_ENABLED()    ((RCC->AHB1LPENR & (RCC_AHB1LPENR_DMA1LPEN)) != RESET)
 
#define __HAL_RCC_CRC_IS_CLK_SLEEP_DISABLED()    ((RCC->AHB1LPENR & (RCC_AHB1LPENR_CRCLPEN)) == RESET)
 
#define __HAL_RCC_DMA1_IS_CLK_SLEEP_DISABLED()    ((RCC->AHB1LPENR & (RCC_AHB1LPENR_DMA1LPEN)) == RESET)
 

Detailed Description

Get the enable or disable status of the AHB1 peripheral clock during Low Power (Sleep) mode.

Note
Peripheral clock gating in SLEEP mode can be used to further reduce power consumption.
After wakeup from SLEEP mode, the peripheral clock is enabled again.
By default, all peripheral clocks are enabled during SLEEP mode.

Macro Definition Documentation

#define __HAL_RCC_CRC_IS_CLK_SLEEP_DISABLED ( )    ((RCC->AHB1LPENR & (RCC_AHB1LPENR_CRCLPEN)) == RESET)

Definition at line 636 of file stm32f7xx_hal_rcc.h.

#define __HAL_RCC_CRC_IS_CLK_SLEEP_ENABLED ( )    ((RCC->AHB1LPENR & (RCC_AHB1LPENR_CRCLPEN)) != RESET)

Definition at line 633 of file stm32f7xx_hal_rcc.h.

#define __HAL_RCC_DMA1_IS_CLK_SLEEP_DISABLED ( )    ((RCC->AHB1LPENR & (RCC_AHB1LPENR_DMA1LPEN)) == RESET)

Definition at line 637 of file stm32f7xx_hal_rcc.h.

#define __HAL_RCC_DMA1_IS_CLK_SLEEP_ENABLED ( )    ((RCC->AHB1LPENR & (RCC_AHB1LPENR_DMA1LPEN)) != RESET)

Definition at line 634 of file stm32f7xx_hal_rcc.h.