English
Language : 

M16C Datasheet, PDF (173/262 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Preliminary Specifications REV.B
Mitsubishi microcomputers
Specifications in this manual are tentative and subject to change.
M16C / 6N Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
CAN Module
CAN Message Control Register
CAN Message Control Register i
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0MCTLi
C1MCTLi
(i = 0 to 15)
Address
020016 to 020F16
022016 to 022F16
When reset
0016
0016
Bit symbol
Bit name
Function
RW
NewData New Data
- Receive Mailbox
0: The content of the message slot is read or
OO
(Note)
still under processing by the CPU.
1: The CAN module has stored new data in the
corresponding mailbox.
SentData Sent Data
- Transmit Mailbox
0: Transmission is not started/finished yet.
1: Frame is transmitted successfully.
InvalData Invalid Data
- Receive Mailbox
0: The content of the message slot is valid.
OO
(Note)
1: Message slot contains invalid data (update of
the message content is in progress).
TrmActive Transmission
Active
- Transmit Mailbox
0: Slot is waiting for bus free and passing internal
transmit arbitration.
1: Transmit process for this message is active.
MsgLost
Message Lost
- Receive Mailbox
0: No message was overwritten in this slot.
1: This mailbox already contained a message,
but it was overwritten by a newer one.
OO
(Note)
RemActive Remote Active
0: The module handles data frames; transmit/ O O
receive case depends on the slot configuration
(Note)
(BasicCAN mode: data frame is stored).
1: Remote part of the auto-switch modes (Trans-
mit Remote Frame / Receive Remote Frame) is
active (BasicCAN mode: remote frame is stored).
RspLock
Response
Locked
- Transmission Remote Mailbox
OO
0: After a remote frame is received, it will be
answered automatically.
1: After a remote frame is received, no transmis-
sion will be started as long as this bit is set to 1.
Remote
Remote Mailbox
0:
1: Mailbox is Remote Mailbox
(s. also table 18-3)
OO
RecReq
Receive Mailbox
0:
1: Mailbox is Receive Mailbox
(s. also table 18-3)
OO
TrmReq
Transmit Mailbox 0:
1: Mailbox is Transmission Mailbox
(s. also table 18-3)
OO
Note:
The write access on CPU side is limited to ’write only 0’. If the CPU tries to set these bits to 1, it
will not have any influence to the content of these bits. In this case, the values of these bits are
forced to their ’status meaning’ defined by the current state of the CAN module.
Figure 18-10. Structure of CAN message control register
173