Transmit Abort Function - Mitsubishi Electric M32R Series User Manual

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

Advertisement

13
B'0000 0010
B'0000 0001
Note: When in this state, data can be written to the message slot.
Figure 13.5.2 Operation of the CAN Message Slot Control Register when Transmitting Data Frames

13.5.3 Transmit Abort Function

The transmit abort function is used to cancel a transmit request that has once been set. This is
accomplished by writing H'0F to the CAN Message Slot Control Register for the slot concerned.
When transmit abort is accepted, the CAN module clears the CAN Message Slot Control Register's
TRSTAT (Transmit/Receive Status) bit to 0, allowing for data to be written to the message slot. The
following shows conditions under which transmit abort is accepted:
[Conditions]
• When the target message is waiting for transmission
• When a CAN bus error occurs during transmission
• When the CAN module lost bus arbitration
Transmit
aborted
(Note)
13-62
13.5 Transmitting Data Frames
B'0000 0000
(Note)
Write H'80
Transmit aborted
B'1000 0000
Transmit request
Lost bus arbitration
accepted
CAN bus error occurred
B'1000 0010
Transmit
completed
B'1000 0001
CAN MODULE
Waiting for
transmission
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents