Macros
RCC Peripheral Clock Sleep Enable Disable
Collaboration diagram for RCC Peripheral Clock Sleep Enable Disable:

Macros

#define __HAL_RCC_CRC_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_CRCLPEN))
 
#define __HAL_RCC_CRC_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_CRCLPEN))
 
#define __HAL_RCC_DMA1_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_DMA1LPEN))
 
#define __HAL_RCC_DMA1_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_DMA1LPEN))
 
#define __HAL_RCC_PWR_CLK_SLEEP_DISABLE()   (RCC->APB1LPENR &= ~(RCC_APB1LPENR_PWRLPEN))
 
#define __HAL_RCC_PWR_CLK_SLEEP_ENABLE()   (RCC->APB1LPENR |= (RCC_APB1LPENR_PWRLPEN))
 
#define __HAL_RCC_SYSCFG_CLK_SLEEP_DISABLE()   (RCC->APB2LPENR &= ~(RCC_APB2LPENR_SYSCFGLPEN))
 
#define __HAL_RCC_SYSCFG_CLK_SLEEP_ENABLE()   (RCC->APB2LPENR |= (RCC_APB2LPENR_SYSCFGLPEN))
 Enable or disable the APB2 peripheral clock during Low Power (Sleep) mode. More...
 
#define __HAL_RCC_WWDG_CLK_SLEEP_DISABLE()   (RCC->APB1LPENR &= ~(RCC_APB1LPENR_WWDGLPEN))
 
#define __HAL_RCC_WWDG_CLK_SLEEP_ENABLE()   (RCC->APB1LPENR |= (RCC_APB1LPENR_WWDGLPEN))
 Enable or disable the APB1 peripheral clock during Low Power (Sleep) mode. More...
 

Detailed Description

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_CLK_SLEEP_DISABLE

#define __HAL_RCC_CRC_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_CRCLPEN))

Definition at line 581 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_CRC_CLK_SLEEP_ENABLE

#define __HAL_RCC_CRC_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_CRCLPEN))

Definition at line 578 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_DMA1_CLK_SLEEP_DISABLE

#define __HAL_RCC_DMA1_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_DMA1LPEN))

Definition at line 582 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_DMA1_CLK_SLEEP_ENABLE

#define __HAL_RCC_DMA1_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_DMA1LPEN))

Definition at line 579 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_PWR_CLK_SLEEP_DISABLE

#define __HAL_RCC_PWR_CLK_SLEEP_DISABLE ( )    (RCC->APB1LPENR &= ~(RCC_APB1LPENR_PWRLPEN))

Definition at line 594 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_PWR_CLK_SLEEP_ENABLE

#define __HAL_RCC_PWR_CLK_SLEEP_ENABLE ( )    (RCC->APB1LPENR |= (RCC_APB1LPENR_PWRLPEN))

Definition at line 591 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_SYSCFG_CLK_SLEEP_DISABLE

#define __HAL_RCC_SYSCFG_CLK_SLEEP_DISABLE ( )    (RCC->APB2LPENR &= ~(RCC_APB2LPENR_SYSCFGLPEN))

Definition at line 603 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_SYSCFG_CLK_SLEEP_ENABLE

#define __HAL_RCC_SYSCFG_CLK_SLEEP_ENABLE ( )    (RCC->APB2LPENR |= (RCC_APB2LPENR_SYSCFGLPEN))

Enable or disable 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.

Definition at line 602 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_WWDG_CLK_SLEEP_DISABLE

#define __HAL_RCC_WWDG_CLK_SLEEP_DISABLE ( )    (RCC->APB1LPENR &= ~(RCC_APB1LPENR_WWDGLPEN))

Definition at line 593 of file stm32f7xx_hal_rcc.h.

◆ __HAL_RCC_WWDG_CLK_SLEEP_ENABLE

#define __HAL_RCC_WWDG_CLK_SLEEP_ENABLE ( )    (RCC->APB1LPENR |= (RCC_APB1LPENR_WWDGLPEN))

Enable or disable 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.

Definition at line 590 of file stm32f7xx_hal_rcc.h.



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