XC886/888CLM
Controller Area Network (MultiCAN) Controller
User’s Manual
15-23
V1.3, 2010-02
MultiCAN, V1.0
15.1.7
Message Postprocessing
After a message object has successfully received or transmitted a frame, the CPU can
be notified to perform a message postprocessing on the message object. The
postprocessing of the MultiCAN module consists of two elements:
1. Message interrupts to trigger postprocessing.
2. Message pending registers to collect pending message interrupts into a common
structure for postprocessing.
15.1.7.1
Message Interrupts
When the storage of a received frame into a message object or the successful
transmission of a frame is completed, a message interrupt can be issued. For each
message object, a transmit and a receive interrupt can be generated and routed to one
of the eight CAN interrupt output lines (see
). A receive interrupt occurs also
after a frame storage event has been induced by a FIFO or a gateway action. The status
bits MOSTATn.TXPND and MOSTATn.RXPND are always set after a successful
transmission/reception, regardless if the respective message interrupt is enabled or not.
A FIFO full interrupt condition of a message object is provided. If bit field MOFCRn.OVIE
is set, the FIFO full interrupt will become activated depending on the actual message
object type.
In case of a Receive FIFO Base Object (MOFCRn.MMC = 0001
B
), the FIFO full interrupt
is routed to the interrupt output line CANSRCm as defined by the transmit interrupt node
pointer MOIPRn.TXINP.
In case of a Transmit FIFO Base Object (MOFCRn.MMC = 0010
B
), the FIFO full interrupt
is routed to the interrupt output line CANSRCm as defined by the receive interrupt node
pointer MOIPRn.RXINP.
*