|
CodeWarrior 5.9版本
在“hdconf.h”文件中定义了函数:
void Ser164Pro(byte dat);
在main文件中有RTC中断函数处理点阵显示:
byte DpyBuff[] = {0x00,0xDA,(0x60+SET_TMP),0x02,(0x02+OUT_TMP),0x02,(0x02+IN_TMP),0x70,COOL_WAIT,(WIND_MODE+WIND_1)};
interrupt VectorNumber_Vrtc RTC_ISR(void)
{
DisableInterrupts;
(count1ms>0x0D)?(count1ms = 0x00):(count1ms++);
switch(count1ms)
{
case 1: {Ser16Pro(DpyBuff[0]);SelPin1;break;}
case 2: {Ser16Pro(DpyBuff[1]);SelPin2;break;}
case 3: {Ser16Pro(DpyBuff[2]);SelPin3;break;}
case 4: {Ser16Pro(DpyBuff[3]);SelPin4;break;}
case 5: {Ser16Pro(DpyBuff[4]);SelPin5;break;}
case 6: {Ser16Pro(DpyBuff[5]);SelPin6;break;}
case 7: {Ser16Pro(DpyBuff[6]);SelPin7;break;}
case 8: {Ser16Pro(DpyBuff[7]);SelPin8;break;}
case 9: {Ser16Pro(DpyBuff[8]);SelPin9;break;}
case 10: {Ser16Pro(DpyBuff[9]);SelPin10;break;}
case 11: {Ser16Pro(DpyBuff[10]);SelPin11;break;}
case 12: {Ser16Pro(DpyBuff[11]);SelPin13;break;}
default : break;
}
RTCSC_RTIF=1;
EnableInterrupts;
}
make后有如下错误:
这是怎么回事呀? |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
阿莫论坛20周年了!感谢大家的支持与爱护!!
月入3000的是反美的。收入3万是亲美的。收入30万是移民美国的。收入300万是取得绿卡后回国,教唆那些3000来反美的!
|