Select one of the symbols to view example projects that use it.
 
Outline
#define __STM32F4xx_LP_MODES_H
Includes
#include "main.h"
Exported constants
#define SLEEP_MODE
Exported functions
SleepMode_Measure();
StopMode_Measure();
StopUnderDriveMode_Measure();
StandbyMode_Measure();
StandbyRTCMode_Measure();
StandbyRTCBKPSRAMMode_Measure();
USB_ULPI_Read(uint32_t);
USB_ULPI_Write(uint32_t, uint32_t);
USB_ULPI_MspInit();
USB_PhyEnterLowPowerMode();
USB_PhyExitFromLowPowerMode();
ETH_PhyEnterPowerDownMode();
ETH_PhyExitFromPowerDownMode();
Files
loading...
CodeScopeSTM32 Libraries and SamplesPWR_CurrentConsumptionInc/stm32f4xx_lp_modes.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file PWR/PWR_CurrentConsumption/stm32f4xx_lp_modes.h * @author MCD Application Team * @brief Header for stm32f4xx_lp_modes.c module ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32F4xx_LP_MODES_H #define __STM32F4xx_LP_MODES_H /* Includes ------------------------------------------------------------------*/ #include "main.h" Includes /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ #if !defined (SLEEP_MODE) && !defined (STOP_MODE) && !defined (STOP_UNDERDRIVE_MODE) && !defined (STANDBY_MODE)\ && !defined (STANDBY_RTC_MODE) && !defined (STANDBY_RTC_BKPSRAM_MODE) /* Uncomment the corresponding line to select the STM32F4xx Low Power mode */ #define SLEEP_MODE /* #define STOP_MODE */ /* #define STOP_UNDERDRIVE_MODE */ /* #define STANDBY_MODE */ /* #define STANDBY_RTC_MODE */ /* #define STANDBY_RTC_BKPSRAM_MODE *//* ... */ #endif #if !defined (SLEEP_MODE) && !defined (STOP_MODE) && !defined (STOP_UNDERDRIVE_MODE) && !defined (STANDBY_MODE)\ && !defined (STANDBY_RTC_MODE) && !defined (STANDBY_RTC_BKPSRAM_MODE) #error "Please select first the target STM32F4xx Low Power mode to be measured (in stm32f4xx_lp_modes.h file)" #endif Exported constants /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ void SleepMode_Measure(void); void StopMode_Measure(void); void StopUnderDriveMode_Measure(void); void StandbyMode_Measure(void); void StandbyRTCMode_Measure(void); void StandbyRTCBKPSRAMMode_Measure(void); uint32_t USB_ULPI_Read(uint32_t Addr); uint32_t USB_ULPI_Write(uint32_t Addr, uint32_t Data); void USB_ULPI_MspInit(void); void USB_PhyEnterLowPowerMode(void); void USB_PhyExitFromLowPowerMode(void); void ETH_PhyEnterPowerDownMode(void); void ETH_PhyExitFromPowerDownMode(void); Exported functions /* ... */#endif /* __STM32F4xx_LP_MODES_H */