
Rev.2.10 Apr 14, 2006 page 233 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 19. CAN Module
Figure 19.11 Registers C0RECR, C1RECR, C0TECR, C1TECR, C0TSR, C1TSR, C0AFS, and C1AFS
Reception error counting function
The value is incremented or decremented
according to the CAN module's error status.
00h to FFh
(1)
CANi Receive Error Count Register (i = 0, 1)
b7 b0
Function
Counter Value
NOTE:
1. The value is undefined in bus off state.
RW
RO
C0RECR
C1RECR
00h
00h
021Ch
023Ch
Symbol
Address After Reset
Transmission error counting function
The value is incremented or decremented
according to the CAN module's error status.
00h to FFh
(1)
CANi Transmit Error Count Register (i = 0, 1)
b7 b0
Function
Counter Value
RW
RO
C0TECR
C1TECR
00h
00h
021Dh
023Dh
Symbol
Address After Reset
NOTE:
1. The value is undefined in bus off state.
Time stamp function 0000h to FFFFh
Function Counter Value
RW
RO
C0TSR
C1TSR
0000h
0000h
021Fh, 021Eh
023Fh, 023Eh
Symbol
Address After Reset
(b15) (b8)
b7 b0 b7 b0
CANi Time Stamp Register (i = 0, 1)
(1)
NOTE:
1. Use a 16-bit data for read.
(b15)
b7
(b8)
b0
b7
b0
CANi Acceptance Filter Support Register (i = 0, 1)
Write the content equivalent to the standard frame
ID of the received message.
The value is "converted standard frame ID" when
read.
Standard frame ID
Function
Setting Values
RW
RW
C0AFS
C1AFS
Undefined
Undefined
0243h, 0242h
0245h, 0244h
Symbol
Address After Reset
Comentarios a estos manuales