Mitsubishi Electric M32R Series User Manual page 637

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

13
When using CAN interrupts, this register lets you know which slot requested an interrupt.
• Slots set for transmission
The bit is set to 1 when the CAN module finished transmitting. The bit is cleared by writing a 0 in
software.
• Slots set for reception
The bit is set to 1 when the CAN module finished receiving and finished storing the received
message in the message slot. The bit is cleared by writing a 0 in software.
When writing to the CAN slot interrupt status, make sure the bits you want to clear are set to 0
and all other bits are set to 1. The bits thus set to 1 are unaffected by writing in software and retain
the value they had before you write.
Note 1: If the automatic response function is enabled for remote frame receive slots, the status
is set after the CAN module received a remote frame and when it transmitted a data
frame.
Note 2: For remote frame transmit slots, the status is set after the CAN module transmitted a
remote frame and when it received a data frame.
Note 3: If the status is set by an interrupt request at the same time it is cleared in software, the
former has priority so that the status is set.
13.2 CAN Module Related Registers
13-23
CAN MODULE
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents