23 lines
488 B
C
Executable File
23 lines
488 B
C
Executable File
#ifndef __LOWPOWER_H__
|
|
#define __LOWPOWER_H__
|
|
|
|
/*================================================*/
|
|
void EnterLowPowerModeWFI(PWR_POWERMODE_t mode);
|
|
|
|
|
|
/*================================================*/
|
|
typedef struct{
|
|
PWR_POWERMODE_t lpm_mode;
|
|
u8 mcuModeSleeping ;
|
|
}__LPM_STA_TypeDef;
|
|
|
|
extern __LPM_STA_TypeDef lpmState;
|
|
|
|
void LowPowerModeProcess(void);
|
|
void SetupLowPowertoWakeupByHandwareTrigger(void);
|
|
void ExitLowPowerModeRecoverySysState(void);
|
|
|
|
|
|
#endif
|
|
|