STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
AHB2 Peripheral Low Power Enable Disable

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

Collaboration diagram for AHB2 Peripheral Low Power Enable Disable:

Macros

#define __HAL_RCC_USB_OTG_FS_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_USB_OTG_FS_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_RNG_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_RNG_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_DCMI_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_DCMI_CLK_SLEEP_DISABLE()
 

Detailed Description

Enable or disable the AHB2 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_USB_OTG_FS_CLK_SLEEP_ENABLE

#define __HAL_RCC_USB_OTG_FS_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB2LPENR |= (RCC_AHB2LPENR_OTGFSLPEN))

Definition at line 4647 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_USB_OTG_FS_CLK_SLEEP_DISABLE

#define __HAL_RCC_USB_OTG_FS_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB2LPENR &= ~(RCC_AHB2LPENR_OTGFSLPEN))

Definition at line 4648 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_RNG_CLK_SLEEP_ENABLE

#define __HAL_RCC_RNG_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB2LPENR |= (RCC_AHB2LPENR_RNGLPEN))

Definition at line 4650 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_RNG_CLK_SLEEP_DISABLE

#define __HAL_RCC_RNG_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB2LPENR &= ~(RCC_AHB2LPENR_RNGLPEN))

Definition at line 4651 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_DCMI_CLK_SLEEP_ENABLE

#define __HAL_RCC_DCMI_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB2LPENR |= (RCC_AHB2LPENR_DCMILPEN))

Definition at line 4653 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_DCMI_CLK_SLEEP_DISABLE

#define __HAL_RCC_DCMI_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB2LPENR &= ~(RCC_AHB2LPENR_DCMILPEN))

Definition at line 4654 of file stm32f4xx_hal_rcc_ex.h.