-----------相关的串口信息----------------------------
bulverde_usbfn!BulUsbDevice::SetPowerState: Going from D0 to D4
[MMC] SDH: +SDH_PowerDown
GPIO - PowerDown
BUZZER - PowerDown
PWB_PowerDown
PWB_PowerDown-MiccoPreSuspend
Battery Driver::BatteryPDDPowerHandler
IMM_PowerDown...
FMD_PowerDown
ASCR 0x2200
ad3sr 0x1
arsr 0x0
ad3er 0x80000001
Save Register Counter 19
g_SRAM_Start is :0xabb14000
Finish init save content
PWER::0x8000000f AD3ER:0x80000001
+OALKitlPowerOff
Call XllpPmEnterSleep
-InitDebugSerial
Resume back from XllpPmEnterSleep
Wakeup Source 1027, AD3SR 0x1
+OALKitlPowerOn
OEMPowerOff(): to restart the RCOMP eval, and enable RCOMP interrupts
Return from OEMPowerOff
ASCR 0x2200
ad3sr 0x1
arsr 0x0
ad3er 0x80000001
+FMD_PowerUp
---------------------------------------
查了下两个寄存器好像关系也不大
AD3SR:Application subsystem wakeup fron D3 status Register
bit 0:WS_EXTERNAL[0] Wake-up Status for external input (EXTE_WAKEUP<0>)
0=NO wake-up due to EXT_WAKEUP<0>edge detect
1=Wake-up due to EXT_WAKEUP<0>edge detect
AD3ER application subsystem wakeup from D3 enable Register
bit 0: WE_EXTNAL[0] Wake-up option for EXT_WAKEUP<0>
0=disable wake-up due to EXT_WAKEUP<0>edge detect
1=enable wake up due to EXT_WAKEUP<0>edge detect
bit 31:WERTC Wake-up option for RTC
0=disable wake-up due to RTC
1=enable wake-up due to RTC
NKDbgPrintfW(_T("[BKL1] Notify IPM Ready For Processor state for driver %d\r\n"),ipm_client_id);
if (IPM_NotifyReadyForProcState(ipm_client_id, dwProcState, 3000) == IPM_STATUS_SUCCESS)
{
// NKDbgPrintfW(_T("[BKL1] Notify IPM Ready For Processor state for driver Completed\r\n"));
}
else
NKDbgPrintfW(_T("[BKL1] Notify IPM Ready For Processor state for driver FAILED\r\n"));
if(is_on)
ret = IPM_SetMinOp(ipm_client_id, IPM_OP_104MHZ ,3000);
else
ret = IPM_ReleaseMinOp(ipm_client_id, 1000);
if (ret == IPM_STATUS_SUCCESS)
{
NKDbgPrintfW(_T("[BKL1:] MinOP Set/Release OK!!CYH \r\n"));