相当详细讲解和分析,模块也相当稳定。void MSCANInit(void) { char sj,p; char t_seg1, t_seg2; if (!CANCTL0&0x01) // Active MSCAN initialization mode CANCTL0 =0x01; // Wait until the MSCAN is in initialization mode while (!CANCTL1&0x01) ; sj = (SJW-1)