English
Language : 

M16C29 Datasheet, PDF (316/499 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
M16C/29 Group
17.1.3 CAN SFR Registers
17.1.3.1 C0MCTLj Register (j = 0 to 15)
Figure 17.6 shows the C0MCTLj register.
17. CAN Module
CAN0 message control register j ( j = 0 to 15) (4)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0MCTL0 to C0MCTL15
Address
020016 to 020F16
After Reset
0016
Bit Symbol
Bit Name
Function
RW
NewData
Successful
reception flag
When set to reception slot
0: The content of the slot is read or still under
RO
processing by the CPU
(1)
1 The CAN module has stored new data in the slot
SentData
Successful
transmission flag
When set to transmission slot
0: Transmission is not started or completed yet
1: Transmission is successfully completed
RO
(1)
When set to reception slot
InvalData
"Under reception" 0: The message is valid
flag
1: The message is invalid
RO
(The message is being updated)
TrmActive
"Under
transmission" flag
When set to transmission slot
0: Waiting for bus idle or completion of arbitration
1: Transmitting
RO
MsgLost Overwrite flag
When set to reception slot
0: No message has been overwritten in this slot
RO
1: This slot already contained a message, but it has (1)
been overwritten by a new one
Remote frame 0: Data frame transmission/reception status
transmission/
1: Remote frame automatic transfer status
RemActive reception status
RW
flag (2)
RspLock
When set to reception remote frame slot
Auto response
0: After a remote frame is received, it will be
lock mode select
bit
answered automatically
1: After a remote frame is received, no transmission
RW
will be started as long as this bit is set to 1
(Not responding)
Remote frame 0: Slot not corresponding to remote frame
Remote corresponding
1: Slot corresponding to remote frame
RW
slot select bit
Reception slot
0: Not reception slot
RecReq request bit (3)
1: Reception slot
RW
Transmission
0: Not transmission slot
TrmReq slot request bit (3) 1: Transmission slot
RW
NOTES:
1. As for write, only writing 0 is possible. The value of each bit is written when the CAN module enters the respective state.
2. In Basic CAN mode, the slots 14 and 15 serve as data format identification flag. If the data frame is received, the RemActive
bit is set to 0. If the remote frame is received, the bit is set to 1.
3. One slot cannot be defined as reception slot and transmission slot at the same time.
4. Set these registers only when the CAN module is in CAN operating mode.
Figure 17.6 C0MCTLj Register
Rev. 1.12 Mar.30, 2007 page 292 of 458
REJ09B0101-0112