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.

怎样将IO口外部中断事件插入zll协议栈中

Other Parts Discussed in Thread: CC2530

我想使用zll协议栈中的Zlight_Router工程识别CC2530 IO口中断事件,请问要怎么设置或注册?

  • 你可以参考协议栈中按键的实现,

    void HalKeyInit(void){}
    void HalKeyConfig(bool interruptEnable, halKeyCBack_t cback){}

    中断处理函数

    HAL_ISR_FUNCTION( halKeyPort0Isr, P0INT_VECTOR )