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.

求助:Z-Stack 2530协议栈中P0通道中断检测不到

Other Parts Discussed in Thread: Z-STACK


P0SEL &= ~BV(6);

P0DIR &= ~0x40;//set P0.6 input mode

P0IEN |= 0X40; // Set P0.6 interrupt

PICTL |= 0X01; // P0 Falling edge trigger

IEN1 |= 0x20; // enable P0 interrupt;

P0IFG = 0x00; // P0 Inerupt Enable Flag Initialization

EA = 1;

在Z-stack协议栈中,这是我的P0.6口中断的初始化,不能检测到中断,但换成P1或者P2通道就可以,帮忙看看什么问题?