Can Sfr Registers - Renesas M16C/60 Series Hardware Manual

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group

CAN SFR Registers

C0MCTLj Register (j = 0 to 15)
Figure 1.19.6 shows the C0MCTLj register.
CAN0 message control register j (j = 0 to 15) (Note 4)
b7
b6
b5
b4
b3
Note 1: As for write, only writing "0" is possible. The value of each bit is written when the CAN module enters the respective state.
Note 2: In Basic CAN mode, they serve as data format identification flag. Refer to "Basic CAN Mode" for more details.
Note 3: One slot cannot be defined as reception slot and transmission slot at the same time.
Note 4: This register can not be set in CAN reset/initialization mode of the CAN module.
Figure 1.19.6 C0MCTLj Register
Rev.1.00
2003.05.30
page 207
b2
b1
b0
Symbol
C0MCTL0 to C0MCTL15
Bit symbol
NewData
Successful
reception flag
SentData
Successful
transmission flag
InvalData
"Under reception"
flag
TrmActive
"Under
transmission" flag
MsgLost
Overwrite flag
RemActive
Remote frame
transmission/
reception status
flag (Note 2)
RspLock
Transmission/
reception auto
response lock
mode select bit
Remote
Remote frame
corresponding
slot select bit
RecReq
Reception slot
request bit
(Note 3)
TrmReq
Transmission
slot request bit
(Note 3)
Address
0200
to 020F
16
16
Bit name
When set to reception slot
0: The content of the slot is read or still under
processing by the CPU.
1 The CAN module has stored new data in the slot.
When set to transmission slot
0: Transmission is not started or completed yet.
1: Transmission is successfully completed.
When set to reception slot
0: The message is valid.
1: The message is invalid.
(The message is being updated.)
When set to transmission slot
0: Waiting for bus idle or completion of arbitration.
1: Transmitting
When set to reception slot
0: No message has been overwritten in this slot.
1: This slot already contained a message, but it has
been overwritten by a new one.
0: Data frame transmission/reception status
1: Remote frame automatic transfer status
When set to reception remote frame slot
0: After a remote frame is received, it will be
answered automatically.
1: After a remote frame is received, no transmission
will be started as long as this bit is set to "1".
(Not responding)
0: Slot not corresponding to remote frame
1: Slot corresponding to remote frame
0: Not reception slot
1: Reception slot
0: Not transmission slot
1: Transmission slot
CAN Module
After reset
00
16
Function
RW
RO
(Note 1)
RO
(Note 1)
RO
RO
RO
(Note 1)
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents