text: /**
    ******************************************************************************
    * @file    PWR_CurrentConsumption/stm32f4xx_lp_modes.h
    * @author  MCD Application Team
    * @version V1.0.0
    * @date    19-September-2011
    * @brief   Header for stm32f4xx_lp_modes.c module
    ******************************************************************************
    * @attention
    *
    * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
    * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
    * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
    * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
    * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
    * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
    *
    * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
    ******************************************************************************
    */ 
  
  /* Define to prevent recursive inclusion -------------------------------------*/
  #ifndef __STM32F4xx_LP_MODES_H
  #define __STM32F4xx_LP_MODES_H
  
  /* Includes ------------------------------------------------------------------*/
  #include "stm32f4_discovery.h"
  
  /* Exported types ------------------------------------------------------------*/
  /* Exported constants --------------------------------------------------------*/
  #if !defined (SLEEP_MODE) && !defined (STOP_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 STANDBY_MODE
  //#define STANDBY_RTC_MODE
  //#define STANDBY_RTC_BKPSRAM_MODE
  #endif
  
  #if !defined (SLEEP_MODE) && !defined (STOP_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 macro ------------------------------------------------------------*/
  /* Exported functions ------------------------------------------------------- */
  void SleepMode_Measure(void);
  void StopMode_Measure(void);
  void StandbyMode_Measure(void);
  void StandbyRTCMode_Measure(void);
  void StandbyRTCBKPSRAMMode_Measure(void);
  
  #endif /* __STM32F4xx_LP_MODES_H */
  
  /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
  