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

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_GPIOD_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_GPIOE_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_GPIOF_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_GPIOG_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_SRAM2_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_USB_OTG_HS_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_CRC_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_FLITF_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_SRAM1_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_BKPSRAM_CLK_SLEEP_ENABLE()
 
#define __HAL_RCC_GPIOD_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_GPIOE_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_GPIOF_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_GPIOG_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_SRAM2_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_USB_OTG_HS_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_CRC_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_FLITF_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_SRAM1_CLK_SLEEP_DISABLE()
 
#define __HAL_RCC_BKPSRAM_CLK_SLEEP_DISABLE()
 

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

#define __HAL_RCC_GPIOD_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIODLPEN))

Definition at line 4612 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_GPIOE_CLK_SLEEP_ENABLE

#define __HAL_RCC_GPIOE_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOELPEN))

Definition at line 4613 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_GPIOF_CLK_SLEEP_ENABLE

#define __HAL_RCC_GPIOF_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOFLPEN))

Definition at line 4614 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_GPIOG_CLK_SLEEP_ENABLE

#define __HAL_RCC_GPIOG_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_GPIOGLPEN))

Definition at line 4615 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SRAM2_CLK_SLEEP_ENABLE

#define __HAL_RCC_SRAM2_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_SRAM2LPEN))

Definition at line 4616 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_USB_OTG_HS_CLK_SLEEP_ENABLE

#define __HAL_RCC_USB_OTG_HS_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_OTGHSLPEN))

Definition at line 4617 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_ENABLE

#define __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_OTGHSULPILPEN))

Definition at line 4618 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_CRC_CLK_SLEEP_ENABLE

#define __HAL_RCC_CRC_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_CRCLPEN))

Definition at line 4619 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_FLITF_CLK_SLEEP_ENABLE

#define __HAL_RCC_FLITF_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_FLITFLPEN))

Definition at line 4620 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SRAM1_CLK_SLEEP_ENABLE

#define __HAL_RCC_SRAM1_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_SRAM1LPEN))

Definition at line 4621 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_BKPSRAM_CLK_SLEEP_ENABLE

#define __HAL_RCC_BKPSRAM_CLK_SLEEP_ENABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR |= (RCC_AHB1LPENR_BKPSRAMLPEN))

Definition at line 4622 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_GPIOD_CLK_SLEEP_DISABLE

#define __HAL_RCC_GPIOD_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIODLPEN))

Definition at line 4624 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_GPIOE_CLK_SLEEP_DISABLE

#define __HAL_RCC_GPIOE_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOELPEN))

Definition at line 4625 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_GPIOF_CLK_SLEEP_DISABLE

#define __HAL_RCC_GPIOF_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOFLPEN))

Definition at line 4626 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_GPIOG_CLK_SLEEP_DISABLE

#define __HAL_RCC_GPIOG_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_GPIOGLPEN))

Definition at line 4627 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SRAM2_CLK_SLEEP_DISABLE

#define __HAL_RCC_SRAM2_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_SRAM2LPEN))

Definition at line 4628 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_USB_OTG_HS_CLK_SLEEP_DISABLE

#define __HAL_RCC_USB_OTG_HS_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_OTGHSLPEN))

Definition at line 4629 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_DISABLE

#define __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_OTGHSULPILPEN))

Definition at line 4630 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_CRC_CLK_SLEEP_DISABLE

#define __HAL_RCC_CRC_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_CRCLPEN))

Definition at line 4631 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_FLITF_CLK_SLEEP_DISABLE

#define __HAL_RCC_FLITF_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_FLITFLPEN))

Definition at line 4632 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SRAM1_CLK_SLEEP_DISABLE

#define __HAL_RCC_SRAM1_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_SRAM1LPEN))

Definition at line 4633 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_BKPSRAM_CLK_SLEEP_DISABLE

#define __HAL_RCC_BKPSRAM_CLK_SLEEP_DISABLE ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(RCC->AHB1LPENR &= ~(RCC_AHB1LPENR_BKPSRAMLPEN))

Definition at line 4634 of file stm32f4xx_hal_rcc_ex.h.