Macros

Enable or disable the AHB1 peripheral clock during Low Power (Sleep) mode. More...

Collaboration diagram for AHB1 Peripheral Low Power Enable Disable:

Macros

#define __HAL_RCC_DMA1_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_DMA1LPEN))
 
#define __HAL_RCC_DMA1_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_DMA1LPEN))
 
#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_DMA1_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_DMA1LPEN))
 
#define __HAL_RCC_DMA1_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_DMA1LPEN))
 
#define __HAL_RCC_DMA2_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_DMA2LPEN))
 
#define __HAL_RCC_DMA2_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_DMA2LPEN))
 
#define __HAL_RCC_DMA2_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_DMA2LPEN))
 
#define __HAL_RCC_DMA2_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_DMA2LPEN))
 
#define __HAL_RCC_DMA2_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_DMA2LPEN))
 
#define __HAL_RCC_DMA2_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_DMA2LPEN))
 
#define __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOALPEN))
 
#define __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOALPEN))
 
#define __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOALPEN))
 
#define __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOALPEN))
 
#define __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOALPEN))
 
#define __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOALPEN))
 
#define __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOBLPEN))
 
#define __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOBLPEN))
 
#define __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOBLPEN))
 
#define __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOBLPEN))
 
#define __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOBLPEN))
 
#define __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOBLPEN))
 
#define __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOCLPEN))
 
#define __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOCLPEN))
 
#define __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOCLPEN))
 
#define __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOCLPEN))
 
#define __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOCLPEN))
 
#define __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOCLPEN))
 
#define __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOHLPEN))
 
#define __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOHLPEN))
 
#define __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE()   (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOHLPEN))
 
#define __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOHLPEN))
 
#define __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOHLPEN))
 
#define __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE()   (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOHLPEN))
 

Detailed Description

Enable or disable 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 wake-up from SLEEP mode, the peripheral clock is enabled again.
By default, all peripheral clocks are enabled during SLEEP mode.

Macro Definition Documentation

◆ __HAL_RCC_DMA1_CLK_SLEEP_DISABLE [1/3]

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

◆ __HAL_RCC_DMA1_CLK_SLEEP_DISABLE [2/3]

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

◆ __HAL_RCC_DMA1_CLK_SLEEP_DISABLE [3/3]

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

◆ __HAL_RCC_DMA1_CLK_SLEEP_ENABLE [1/3]

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

◆ __HAL_RCC_DMA1_CLK_SLEEP_ENABLE [2/3]

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

◆ __HAL_RCC_DMA1_CLK_SLEEP_ENABLE [3/3]

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

◆ __HAL_RCC_DMA2_CLK_SLEEP_DISABLE [1/3]

#define __HAL_RCC_DMA2_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_DMA2LPEN))

◆ __HAL_RCC_DMA2_CLK_SLEEP_DISABLE [2/3]

#define __HAL_RCC_DMA2_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_DMA2LPEN))

◆ __HAL_RCC_DMA2_CLK_SLEEP_DISABLE [3/3]

#define __HAL_RCC_DMA2_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_DMA2LPEN))

◆ __HAL_RCC_DMA2_CLK_SLEEP_ENABLE [1/3]

#define __HAL_RCC_DMA2_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_DMA2LPEN))

◆ __HAL_RCC_DMA2_CLK_SLEEP_ENABLE [2/3]

#define __HAL_RCC_DMA2_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_DMA2LPEN))

◆ __HAL_RCC_DMA2_CLK_SLEEP_ENABLE [3/3]

#define __HAL_RCC_DMA2_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_DMA2LPEN))

◆ __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE [1/3]

#define __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOALPEN))

◆ __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE [2/3]

#define __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOALPEN))

◆ __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE [3/3]

#define __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOALPEN))

◆ __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE [1/3]

#define __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOALPEN))

◆ __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE [2/3]

#define __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOALPEN))

◆ __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE [3/3]

#define __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOALPEN))

◆ __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE [1/3]

#define __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOBLPEN))

◆ __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE [2/3]

#define __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOBLPEN))

◆ __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE [3/3]

#define __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOBLPEN))

◆ __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE [1/3]

#define __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOBLPEN))

◆ __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE [2/3]

#define __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOBLPEN))

◆ __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE [3/3]

#define __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOBLPEN))

◆ __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE [1/3]

#define __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOCLPEN))

◆ __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE [2/3]

#define __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOCLPEN))

◆ __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE [3/3]

#define __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOCLPEN))

◆ __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE [1/3]

#define __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOCLPEN))

◆ __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE [2/3]

#define __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOCLPEN))

◆ __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE [3/3]

#define __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOCLPEN))

◆ __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE [1/3]

#define __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOHLPEN))

◆ __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE [2/3]

#define __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOHLPEN))

◆ __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE [3/3]

#define __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE ( )    (RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOHLPEN))

◆ __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE [1/3]

#define __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOHLPEN))

◆ __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE [2/3]

#define __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOHLPEN))

◆ __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE [3/3]

#define __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE ( )    (RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOHLPEN))


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