测试国赛硬件,软件
#pragma vector=POINT_VECTOR
__interrupt void P0_IRQ(void)
{
if(P0IFG&BUTTON_PUSH_IF_MASK)
{
LED8^=1;
P0IFG&=~BUTTON_PUSH_IF_MASK;
}
P0IF=FALSE;
}
标签:中断,void,MASK,P0IFG,PUSH,天天向上,BUTTON,CC2430 From: https://blog.51cto.com/u_15983838/6093195