STM32L486xx HAL User Manual
Defines
AHB3 Peripheral Clock Sleep Enabled or Disabled Status
RCC Exported Macros

Check whether the AHB3 peripheral clock during Low Power (Sleep) mode is enabled or not. More...

Defines

#define __HAL_RCC_QSPI_IS_CLK_SLEEP_ENABLED()   (READ_BIT(RCC->AHB3SMENR, RCC_AHB3SMENR_QSPISMEN) != RESET)
#define __HAL_RCC_FMC_IS_CLK_SLEEP_ENABLED()   (READ_BIT(RCC->AHB3SMENR, RCC_AHB3SMENR_FMCSMEN) != RESET)
#define __HAL_RCC_QSPI_IS_CLK_SLEEP_DISABLED()   (READ_BIT(RCC->AHB3SMENR, RCC_AHB3SMENR_QSPISMEN) == RESET)
#define __HAL_RCC_FMC_IS_CLK_SLEEP_DISABLED()   (READ_BIT(RCC->AHB3SMENR, RCC_AHB3SMENR_FMCSMEN) == RESET)

Detailed Description

Check whether the AHB3 peripheral clock during Low Power (Sleep) mode is enabled or not.

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.

Define Documentation

#define __HAL_RCC_FMC_IS_CLK_SLEEP_DISABLED ( )    (READ_BIT(RCC->AHB3SMENR, RCC_AHB3SMENR_FMCSMEN) == RESET)

Definition at line 3344 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_FMC_IS_CLK_SLEEP_ENABLED ( )    (READ_BIT(RCC->AHB3SMENR, RCC_AHB3SMENR_FMCSMEN) != RESET)

Definition at line 3327 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_QSPI_IS_CLK_SLEEP_DISABLED ( )    (READ_BIT(RCC->AHB3SMENR, RCC_AHB3SMENR_QSPISMEN) == RESET)

Definition at line 3332 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_QSPI_IS_CLK_SLEEP_ENABLED ( )    (READ_BIT(RCC->AHB3SMENR, RCC_AHB3SMENR_QSPISMEN) != RESET)

Definition at line 3315 of file stm32l4xx_hal_rcc.h.