#ifndef WAKE_UP_RTC_MAX_TIME
#define WAKE_UP_RTC_MAX_TIME80
睡眠時間是改這個宏嗎?我改了發(fā)現(xiàn)沒什么效果呢?
LowPower_Sleep(RB_PWR_RAM2K|RB_PWR_RAM14K|RB_PWR_EXTEND );
SetSysClock( CLK_SOURCE_HSI_32MHz );
time+=WAKE_UP_RTC_MAX_TIME;
if( time > 0xA8C00000 )? ?time -= 0xA8C00000;
? ? RTC_SetTignTime( time );
? ? LowPower_Idle();
//PRINT("WAKE");