//P0中断函数
//P0_5
#pragma vector = P0INT_VECTOR
__interrupt void P0_ISR(void)
{ EA = 0; if(P0IFG>0)
{ P0IFG = 0; //清标志位 }
P0IF = 0; set_powermode(4); //唤醒 EA = 1;
}
这样报错了,报错是没有申明P0_ISR,这该怎么做呢?
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.
//P0中断函数
//P0_5
#pragma vector = P0INT_VECTOR
__interrupt void P0_ISR(void)
{ EA = 0; if(P0IFG>0)
{ P0IFG = 0; //清标志位 }
P0IF = 0; set_powermode(4); //唤醒 EA = 1;
}
这样报错了,报错是没有申明P0_ISR,这该怎么做呢?