/** ****************************************************************************** * @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 */#defineSLEEP_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)"#endifExported constants/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- */voidSleepMode_Measure(void);voidStopMode_Measure(void);voidStopUnderDriveMode_Measure(void);voidStandbyMode_Measure(void);voidStandbyRTCMode_Measure(void);voidStandbyRTCBKPSRAMMode_Measure(void);uint32_tUSB_ULPI_Read(uint32_tAddr);uint32_tUSB_ULPI_Write(uint32_tAddr,uint32_tData);voidUSB_ULPI_MspInit(void);voidUSB_PhyEnterLowPowerMode(void);voidUSB_PhyExitFromLowPowerMode(void);voidETH_PhyEnterPowerDownMode(void);voidETH_PhyExitFromPowerDownMode(void);Exported functions/* ... */#endif/* __STM32F4xx_LP_MODES_H */