MSCAN Controller
68HC(9)12DG128 Rev 1.0
320
MSCAN Controller
MOTOROLA
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.
0 = No data overrun has occurred.
1 = A data overrun has been detected.
RXF — Receive Buffer Full
The RXF flag is set by the msCAN12 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
handshaken (cleared) in order 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.
0 = The receive buffer is released (not full).
1 = The receive buffer is full. A new message is available.
WARNING:
To ensure data integrity, no registers of the receive buffer shall be read
while the RXF flag is cleared
.
NOTE:
The CRFLG register is held in the reset state when the SFTRES bit in
CMCR0 is set.
msCAN12 Receiver Interrupt Enable Register (CRIER)
WUPIE — Wake-up Interrupt Enable
0 = No interruptis generated from this event.
1 = A wake-up event results in a wake-up interrupt.
RWRNIE — Receiver Warning Interrupt Enable
0 = No interruptis generated from this event.
1 = A receiver warning status event results in an error interrupt.
Bit 7
6
5
4
3
2
1
Bit 0
CRIER
$0105
RESET
R
W
WUPIE
RWRNIE
TWRNIE
RERRIE
TERRIE
BOFFIE
OVRIE
RXFIE
0
0
0
0
0
0
0
0
34-mscan12