Macros
APB2 Peripheral Clock Sleep Enable Disable Status

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

Collaboration diagram for APB2 Peripheral Clock Sleep Enable Disable Status:

Macros

#define __HAL_RCC_SYSCFG_IS_CLK_SLEEP_DISABLED()   ((RCC->APB2LPENR & (RCC_APB2LPENR_SYSCFGLPEN)) == RESET)
 
#define __HAL_RCC_SYSCFG_IS_CLK_SLEEP_ENABLED()   ((RCC->APB2LPENR & (RCC_APB2LPENR_SYSCFGLPEN)) != RESET)
 

Detailed Description

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

#define __HAL_RCC_SYSCFG_IS_CLK_SLEEP_DISABLED ( )    ((RCC->APB2LPENR & (RCC_APB2LPENR_SYSCFGLPEN)) == RESET)

Definition at line 652 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_SYSCFG_IS_CLK_SLEEP_ENABLED

#define __HAL_RCC_SYSCFG_IS_CLK_SLEEP_ENABLED ( )    ((RCC->APB2LPENR & (RCC_APB2LPENR_SYSCFGLPEN)) != RESET)

Definition at line 651 of file stm32f7xx_hal_rcc.h.



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