English
Language : 

M16C6NK Datasheet, PDF (246/404 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
19.4 CAN SFR Registers
Figures 19.6 to 19.11 show the CAN SFR registers.
19. CAN Module
CANi Message Control Register j (i = 0, 1) ( j = 0 to 15) (4)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0MCTL0 to C0MCTL15
C1MCTL0 to C1MCTL15
Address
0200h to 020Fh
0220h to 022Fh
After Reset
00h
00h
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
processing by the CPU.
1 The CAN module has stored new data in the slot.
RO (1)
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"
Flag
0: The message is valid.
1: The message is invalid.
RO
(The message is being updated.)
"Under
TrmActive Transmission"
Flag
When set to transmission slot
0: Waiting for bus idle or completion of arbitration. RO
1: Transmitting
MsgLost Overwrite Flag
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.
RO (1)
Remote Frame 0: Data frame transmission/reception status
Transmission/
1: Remote frame transmission/reception status
RemActive Reception Status
RW
Flag (2)
RspLock
Auto Response
Lock Mode
Select Bit
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 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
TrmReq Transmission
0: Not transmission slot
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, slots 14 and 15 serve as data format identification flag.
The RemActive bit is set to "0" if the data frame is received and it is set to "1" if the remote frame is received.
3. One slot cannot be defined as reception slot and transmission slot at the same time.
4. This register can not be set in CAN reset/initialization mode of the CAN module.
Figure 19.6 C0MCTLj and C1MCTLj Registers
Rev.2.00 Nov 28, 2005 page 228 of 378
REJ09B0124-0200