
msCAN12 Controller
Data Sheet
M68HC12B Family — Rev. 9.0
290
msCAN12 Controller
MOTOROLA
WUPIF — Wakeup Interrupt Flag
If the msCAN12 detects bus activity while in sleep mode, it sets the WUPIF flag.
If not masked, a wakeup interrupt is pending while this flag is set.
0 = No wakeup activity has been observed while in sleep mode.
1 = msCAN12 has detected activity on the bus and requested wakeup.
RWRNIF — Receiver Warning Interrupt Flag
This flag is set when the msCAN12 goes into warning status due to the receive
error counter (REC) exceeding 96 and neither one of the error interrupt flags nor
the bus-off interrupt flag is set(1). If not masked, an error interrupt is pending
while this flag is set.
0 = No receiver warning status has been reached.
1 = msCAN12 went into receiver warning status.
TWRNIF — Transmitter Warning Interrupt Flag
This bit will be set when the msCAN12 goes into warning status due to the
transmit error counter (TEC) exceeding 96 and neither one of the error interrupt
flags nor the bus-off interrupt flag is set(2). If not masked, an error interrupt is
pending while this flag is set.
0 = No transmitter warning status has been reached.
1 = msCAN12 went into transmitter warning status.
RERRIF — Receiver Error Passive Interrupt Flag
This flag is set when the msCAN12 goes into error passive status due to the
receive error counter (REC) exceeding 127 and the bus-off interrupt flag is not
set(3). If not masked, an error interrupt is pending while this flag is set.
0 = No receiver error passive status has been reached.
1 = msCAN12 went into receiver error passive status.
TERRIF — Transmitter Error Passive Interrupt Flag
This flag is set when the msCAN12 goes into error passive status due to the
transmit error counter (TEC) exceeding 127 and the bus-off interrupt flag is not
set(4). If not masked, an error interrupt is pending while this flag is set.
0 = No transmitter error passive status has been reached.
1 = msCAN12 went into transmitter error passive status.
BOFFIF — Bus-Off Interrupt Flag
This flag is set when the msCAN12 goes into bus-off status, due to the transmit
error counter exceeding 255. It cannot be cleared before the msCAN12 has
monitored 128 times 11 consecutive recessive bits on the bus. If not masked,
an error interrupt is pending while this flag is set.
0 = No bus-off status has been reached.
1 = msCAN12 went into bus-off status.
1. Condition to set the flag: RWRNIF = (96
≤ REC ≤ 127) & RERRIF & TERRIF & BOFFIF
2. Condition to set the flag: TWRNIF = (96
≤ TEC ≤ 127) & RERRIF & TERRIF & BOFFIF
3. Condition to set the flag: RERRIF = (128
≤ REC ≤ 255) & BOFFIF
4. Condition to set the flag: TERRIF = (128
≤ TEC ≤ 255) & BOFFIF