TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2640,进入睡眠后,按键无法唤醒

如题,调用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));

zha zhao:

Power_shutdown(NULL)函数后,怎么外部按键唤醒?请指点!

Butterfly:

回复 zha zhao:

你是用Pin_Shuntown例程吗?有做改动吗?是在CC2640 launchpad还是CC2640EM上调试的?

赞(0)
未经允许不得转载:TI中文支持网 » CC2640,进入睡眠后,按键无法唤醒
分享到: 更多 (0)