/**
  *****************************************************************************
  * @file    lowpower_hal.h
  * @author  Product application department
  * @version V1.0
  * @date    2020.03.30
  * @brief   Header file of LOWPOWER HAL module.
  *
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef LOWPOWER_HAL_H_
#define LOWPOWER_HAL_H_

#ifdef __cplusplus
extern "C"
{
#endif

/* Includes ------------------------------------------------------------------*/
#include "cpm_drv.h"
#include "eflash_drv.h"
#include "ioctrl_drv.h"
#include "debug.h"
#include "type.h"

/**@defgroup HAL HAL driver
  *
  *@{
  */

/** @defgroup HAL_LOWPOWER LOWPOWER
  *
  *@{
  */

/*** 宏定义 *******************************************************************/
/** @defgroup LOWPOEWER_Exported_Macros Exported Macros
  *
  * @{
  */

#define USI1_SB_IT

/**
  * @}
  */

/*** 结构体、枚举变量定义 *****************************************************/
/** @defgroup LOWPOWER_Exported_Types Exported Types
  *
  * @{
  */

/**
  * @}
  */

/*** 全局变量声明 **************************************************************/
/** @defgroup CPM_Exported_Variables Exported Variables
  *
  * @{
  */

/**
  * @}
  */

/*** 函数声明 ******************************************************************/
/** @defgroup CPM_Exported_Functions Exported Functions
  * @{
  */
extern void LOWPOWER_Hiber(void);
extern void LOWPOWER_DeepSleep(void);
extern void LOWPOWER_Retention(void);
extern void LOWPOWER_Lowpower(void);
extern void LOWPOWER_CardDeepSleep(void);
extern void LOWPOWER_CardRetention(void);
extern void LOWPOWER_CardLowpower(void);
/**
  * @}
  */

/**
  *@}
  */

/**
  *@}
  */

#ifdef __cplusplus
}
#endif

#endif /* LOWPOWER_HAL_H_ */


