This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530按键由中断改为查询后按键无效

Other Parts Discussed in Thread: CC2530, Z-STACK

CC2530按键由中断改为查询后按键无效

中断模式下按键是可以生效的,改为查询模式后按键无反应,请问是不是还有配置哪里?

/* Initialize Key stuff */
#if defined (ISR_KEYINTERRUPT)//
HalKeyConfig(HAL_KEY_INTERRUPT_ENABLE , OnBoard_KeyCallback);
#else//
HalKeyConfig(HAL_KEY_INTERRUPT_DISABLE , OnBoard_KeyCallback);
#endif