Macros
APB1 Peripheral Clock Sleep Enable Disable Status

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

Collaboration diagram for APB1 Peripheral Clock Sleep Enable Disable Status:

Macros

#define __HAL_RCC_PWR_IS_CLK_SLEEP_DISABLED()   ((RCC->APB1LPENR & (RCC_APB1LPENR_PWRLPEN)) == RESET)
 
#define __HAL_RCC_PWR_IS_CLK_SLEEP_ENABLED()   ((RCC->APB1LPENR & (RCC_APB1LPENR_PWRLPEN)) != RESET)
 
#define __HAL_RCC_WWDG_IS_CLK_SLEEP_DISABLED()   ((RCC->APB1LPENR & (RCC_APB1LPENR_WWDGLPEN)) == RESET)
 
#define __HAL_RCC_WWDG_IS_CLK_SLEEP_ENABLED()   ((RCC->APB1LPENR & (RCC_APB1LPENR_WWDGLPEN)) != RESET)
 

Detailed Description

Get the enable or disable status of the APB1 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

◆ __HAL_RCC_PWR_IS_CLK_SLEEP_DISABLED

#define __HAL_RCC_PWR_IS_CLK_SLEEP_DISABLED ( )    ((RCC->APB1LPENR & (RCC_APB1LPENR_PWRLPEN)) == RESET)

Definition at line 638 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_PWR_IS_CLK_SLEEP_ENABLED

#define __HAL_RCC_PWR_IS_CLK_SLEEP_ENABLED ( )    ((RCC->APB1LPENR & (RCC_APB1LPENR_PWRLPEN)) != RESET)

Definition at line 635 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_WWDG_IS_CLK_SLEEP_DISABLED

#define __HAL_RCC_WWDG_IS_CLK_SLEEP_DISABLED ( )    ((RCC->APB1LPENR & (RCC_APB1LPENR_WWDGLPEN)) == RESET)

Definition at line 637 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_WWDG_IS_CLK_SLEEP_ENABLED

#define __HAL_RCC_WWDG_IS_CLK_SLEEP_ENABLED ( )    ((RCC->APB1LPENR & (RCC_APB1LPENR_WWDGLPEN)) != RESET)

Definition at line 634 of file stm32f7xx_hal_rcc.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08