本帖最后由 defalut 于 2014-4-8 22:02 编辑
看图
规格书上说这三种模式只能通过复位来唤醒。另有一手册也提到
For VLLS0, VLLS1, or VLLS3, the exit is always through the reset vector and then
through the interrupt vector of the LLWU immediately after the LLWU interrupt is
enabled in the NVIC with the "enable_irq(LLWU_irq_no);" function call. There is a
WAKEUP bit in the RCM_SRS0 register that allows the user to tell if the reset was due
to an LLWU wake-up event.
但是这块板上的实例FRDM-KL26Z_SC\FRDM-KL26Z_SC_Rev_1.0\klxx-sc-baremetal\build\iar\low_power_demo确是用SW1(PTC3)来唤醒,这是怎么回事?
请问,VLLSX是否只能用复位管教来唤醒?我的板子被我改乱了,现在没法测试,特来确认一下。
switch(test_num){
case 0://VLLS0 no POR
printf("Press any key to enter VLLS0 with POR disable\n\r ");
uart0_getchar(UART0_BASE_PTR);
printf("Press SW1 to wake up from VLLS0\n\r ");
clockMonitor(OFF);
set_4_lp(0);
enter_vlls0(1);
break;
|