English
Language : 

MC68HC908GZ8 Datasheet, PDF (190/344 Pages) Motorola, Inc – Microcontrollers
MSCAN08 Controller (MSCAN08)
Data Sheet
190
TWRNIF — Transmitter Warning Interrupt Flag
This flag is set when the MSCAN08 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.
1 = MSCAN08 has gone into transmitter warning status.
0 = No transmitter warning status has been reached.
RERRIF — Receiver Error Passive Interrupt Flag
This flag is set when the MSCAN08 goes into error passive status due to the
receive error counter 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.
1 = MSCAN08 has gone into receiver error passive status.
0 = No receiver error passive status has been reached.
TERRIF — Transmitter Error Passive Interrupt Flag
This flag is set when the MSCAN08 goes into error passive status due to the
transmit error counter 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.
1 = MSCAN08 went into transmit error passive status.
0 = No transmit error passive status has been reached.
BOFFIF — Bus-Off Interrupt Flag
This flag is set when the MSCAN08 goes into bus-off status, due to the transmit
error counter exceeding 255. It cannot be cleared before the MSCAN08 has
monitored 128 times 11 consecutive ‘recessive’ bits on the bus. If not masked,
an error interrupt is pending while this flag is set.
1 = MSCAN08has gone into bus-off status.
0 = No bus-off status has been reached.
OVRIF — Overrun Interrupt Flag
This flag is set when a data overrun condition occurs. If not masked, an error
interrupt is pending while this flag is set.
1 = A data overrun has been detected since last clearing the flag.
0 = No data overrun has occurred.
RXF — Receive Buffer Full
The RXF flag is set by the MSCAN08 when a new message is available in the
foreground receive buffer. This flag indicates whether the buffer is loaded with
a correctly received message. After the CPU has read that message from the
receive buffer the RXF flag must be cleared to release the buffer. A set RXF flag
prohibits the exchange of the background receive buffer into the foreground
buffer. If not masked, a receive interrupt is pending while this flag is set.
1 = The receive buffer is full. A new message is available.
0 = The receive buffer is released (not full).
1. Condition to set the flag: TWRNIF = (96 → TEC) & RERRIF & TERRIF & BOFFIF
2. Condition to set the flag: RERRIF = (127 → REC → 255) & BOFFIF
3. Condition to set the flag: TERRIF = (128 → TEC → 255) & BOFFIF
MSCAN08 Controller (MSCAN08)
MC68HC908GZ8
Freescale Semiconductor