微毫度十分个扩大飞机公婆 该用户已被删除
|
case LOOK_AROUND:
UseMcuClock();
MLMEHibernateRequest(); //MC13192 now consuming 3 uA
MCUDelay (WALKON);//long_timer(300); //wake up once per second & look around for request
断点1: MLMEWakeRequest();
断点2: UseExternalClock();
MLMERXEnableRequest(&rx_packet, 0x); // 25000 = .1s timeout
MCUDelay (WALKON);// LOW_POWER_WHILE; //Stay until Interrupted for TO or data.
断点3: break;
有个奇怪的问题:我单步运行这各程序,最后gu8TRMODE==2,但全速运行到断点3后gu8TRMODE==132
更奇怪的是我从断点1全速运行到断点3gu8TRMODE==132,但运行到断点2再全速运行到断点3gu8TRMODE==2
斑竹能不能在实际调试一下这个程序后回答一下,谢谢!
附:13192SARD,SMAC4.1C
|
|