CC2640,进入睡眠后,按键无法唤醒
时间:10-02
整理:3721RD
点击:
如题,调用Power_shutdown(NULL)函数后,点动按键无法唤醒,哪里不对?请指点,谢谢!
//Enable wakeup
PIN_setConfig(hKeyPins, PINCC26XX_BM_WAKEUP, Board_KEY_SELECT | (PINCC26XX_WAKEUP_POSEDGE));
PIN_setConfig(hKeyPins, PINCC26XX_BM_WAKEUP, Board_KEY_UP | (PINCC26XX_WAKEUP_POSEDGE));
PIN_setConfig(hKeyPins, PINCC26XX_BM_WAKEUP, Board_KEY_DOWN | (PINCC26XX_WAKEUP_POSEDGE));
PIN_setConfig(hKeyPins, PINCC26XX_BM_WAKEUP, Board_KEY_LEFT | (PINCC26XX_WAKEUP_POSEDGE));
PIN_setConfig(hKeyPins, PINCC26XX_BM_WAKEUP, Board_KEY_RIGHT | (PINCC26XX_WAKEUP_POSEDGE));
Power_shutdown(NULL)函数后,怎么外部按键唤醒?请指点!
你是用Pin_Shuntown例程吗?有做改动吗?是在CC2640 launchpad还是CC2640EM上调试的?