比如如下程序:
void main(void)
{InitSysCtrl();
DINT;
InitPieCtrl();
// Disable CPU interrupts and clear all CPU interrupt flags:
IER = 0x0000;
IFR = 0x0000;
InitPieVectTable();
configtestled();
LED1=0;
DELAY_US(10);
LED2=0;
DELAY_US(10);
LED3=0;
DELAY_US(10);
LED4=0;
DELAY_US(10);
while(1)
{
LED1=~LED1;
DELAY_US(500000);
LED2=~LED2;
DELAY_US(500000);
LED3=~LED3;
DELAY_US(500000);
LED4=~LED4;
DELAY_US(500000);
LED5=~LED5;
DELAY_US(500000);
LED6=~LED6;
DELAY_US(500000);
}
}
会出现如下报错