//设置波特率寄存器---即位定时器0和位定时器1寄存器
CANSetBaudRate(BTRFlag);
//软件方式确保MSCAN模块进入正常工作模式
CANCTL0_INITRQ=0;
while (CANCTL1_INITAK==1)
{
CANCTL0_INITRQ=0;
}
}
1.执行对MSCAN寄存器赋值语句时,例如执行CANCTL1_CANE=1;语句时
会command窗口出现“FCS Warning (ID 4): reading from unimplemented register at pc = 0x3880d5. Value: 0x11, Memory Address: 0x141. MSCAN module not implemented”提示;
2.执行对MSCAN寄存器读出语句时,例如执行while (CANCTL1_INITAK==0)语句时command窗口出现“FCS Warning (ID 4): writing to unimplemented register at pc = 0x3880d5. Value: 0x91, Memory Address: 0x141. MSCAN module not implemented”
不知何故,请大家帮帮忙,谢谢!