Freescale Semiconductor, Inc.
MSCAN Controller
Protocol Violation Protection
reset within the interrupt handler in order to handshake the interrupt. The
flags are reset through writing a 1 to the corresponding bit position. A flag
cannot be cleared if the respective condition still prevails.
NOTE: Bit manipulation instructions (BSET) shall not be used to clear interrupt
flags.
17.6.2 Interrupt Vectors
The msCAN12 supports four interrupt vectors as shown in Table 17-1.
The vector addresses and the relative interrupt priority are dependent on
the chip integration and to be defined.
Table 17-1. msCAN12 Interrupt Vectors
Function
Wake-Up
Source
WUPIF
RWRNIF
TWRNIF
RERRIF
TERRIF
BOFFIF
OVRIF
RXF
Local Mask Global Mask
WUPIE
RWRNIE
TWRNIE
RERRIE
TERRIE
Error
Interrupts
BOFFIE
OVRIE
RXFIE
I Bit
Receive
Transmit
TXE0
TXE1
TXE2
TXEIE0
TXEIE1
TXEIE2
17.7 Protocol Violation Protection
The msCAN12 will protect the user from accidentally violating the CAN
protocol through programming errors. The protection logic implements
the following features:
• The receive and transmit error counters cannot be written or
otherwise manipulated.
68HC(9)12D60 — Rev 4.0
MOTOROLA
Advance Information
MSCAN Controller
289
For More Information On This Product,
Go to: www.freescale.com