| mmuuss586 发表于 2014-5-29 12:29  如楼上所说,有这种可能;
 你的程序无符号,和有符号,怎么定义的发上拉看看;
 可能占用的字节数不 ...
 @far @interrupt void CAN_RX_IRQHandler(void)
 {unsigned int id1,id2;
 unsigned long id3;
 unsigned char i;
 if(CAN_RFR &  CAN_RFR_FMP01)
 {
 CAN_Receive();
 
 id3 = _Id;
 switch(id3)
 { case (0xcff15ef): Flag_Crxd_1 = 1;Flag_Crxd_2 = 1;Flag_Crxd_3 = 1;
 
 break;
 
 case (0xcff16ef):
 
 break;
 
 
 default: break;
 }
 
 }
 return;
 }
 |