Renesas M16C/6NN Computer Hardware User Manual


 
Rev.1.02 Jul 01, 2005 page 200 of 314
REJ09B0126-0102
M16C/6N Group (M16C/6NL, M16C/6NN) 18. CAN Module
Under development
This document is under development and its contents are subject to change.
18.2 CAN0 Message Box
Table 18.1 shows the memory mapping of the CAN0 message box.
It is possible to access to the message box in byte or word.
Mapping of the message contents differs from byte access to word access. Byte access or word access can
be selected by the MsgOrder bit of the C0CTLR register.
Table 18.1 Memory Mapping of CAN0 Message Box
Message Content (Memory Mapping)
Byte access (8 bits) Word access (16 bits)
0060h + n 16 + 0 SID10 to SID6 SID5 to SID0
0060h + n 16 + 1 SID5 to SID0 SID10 to SID6
0060h + n 16 + 2 EID17 to EID14 EID13 to EID6
0060h + n 16 + 3 EID13 to EID6 EID17 to EID14
0060h + n 16 + 4 EID5 to EID0 Data Length Code (DLC)
0060h + n 16 + 5 Data Length Code (DLC) EID5 to EID0
0060h + n 16 + 6 Data byte 0 Data byte 1
006016 + n 16 + 7 Data byte 1 Data byte 0
••
••
••
0060h + n 16 + 13 Data byte 7 Data byte 6
0060h + n 16 + 14 Time stamp high-order byte Time stamp low-order byte
0060h + n 16 + 15 Time stamp low-order byte Time stamp high-order byte
Address
n = 0 to 15: the number of the slot