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...

Collaboration diagram for AHB1 Peripheral Clock Sleep Enable Disable Status:

Macros

#define __HAL_RCC_CRC_IS_CLK_SLEEP_DISABLED()   ((RCC->AHB1LPENR & (RCC_AHB1LPENR_CRCLPEN)) == RESET)
 
#define __HAL_RCC_CRC_IS_CLK_SLEEP_ENABLED()   ((RCC->AHB1LPENR & (RCC_AHB1LPENR_CRCLPEN)) != RESET)
 
#define __HAL_RCC_DMA1_IS_CLK_SLEEP_DISABLED()   ((RCC->AHB1LPENR & (RCC_AHB1LPENR_DMA1LPEN)) == RESET)
 
#define __HAL_RCC_DMA1_IS_CLK_SLEEP_ENABLED()   ((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

◆ __HAL_RCC_CRC_IS_CLK_SLEEP_DISABLED

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

Definition at line 620 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_CRC_IS_CLK_SLEEP_ENABLED

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

Definition at line 617 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_DMA1_IS_CLK_SLEEP_DISABLED

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

Definition at line 621 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_DMA1_IS_CLK_SLEEP_ENABLED

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

Definition at line 618 of file stm32f7xx_hal_rcc.h.



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