English
Language : 

MC68HC12 Datasheet, PDF (357/478 Pages) Motorola, Inc – The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
MSCAN Controller
Programmer’s Model of Control Registers
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 or the Bus-Off interrupt flag is set(1). 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 bit will be 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(2). 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 bit will be 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(3). 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 — BUSOFF Interrupt Flag
This bit will be set when the msCAN12 goes into BUSOFF status, due
to the Transmit Error counter exceeding 255. It cannot be cleared
before the msCAN12 has monitored 128*11 consecutive recessive
bits on the bus. If not masked, an Error interrupt is pending while this
flag is set.
0 = No BUSOFF status has been reached.
1 = msCAN12 went into BUSOFF status.
1. TWRNIF = (96 < TEC) & RERRIF& TERRIF & BOFFIF
2. RERRIF = (128 < REC < 255) & BOFFIF
3. TERRIF = (128 < TEC < 255) & BOFFIF
MC68HC912DT128A — Rev 4.0
MOTOROLA
MSCAN Controller
Technical Data
357