CHAPTER 11 FCAN CONTROLLER
589
User’s Manual U14492EJ3V0UD
(22) CAN1 information register (C1LAST)
The C1LAST register indicates the CAN module’s error information and the number of the message buffer
received last.
This register is read-only in 16-bit units.
14
0
13
0
12
0
2
LREC2
3
LREC3
4
LREC4
5
LREC5
6
LREC6
7
LREC7
8
LERR0
9
LERR1
10
LERR2
11
LERR3
15
0
1
LREC1
0
LREC0
C1LAST
Address
xxxxmC54H
Note
Initial value
00FFH
Note
xxxx: CAN message buffer registers can be allocated to the xxxx addresses as programmable
peripheral I/O registers. Note, however, that the xxxx addresses cannot be changed after being
set.
m = 2, 6, A, E
Bit Position
Bit Name
Function
Indicates the last error information.
LERR3
LERR2
LERR1
LERR0
Last Error Information
0
0
0
0
Error not detected
0
0
0
1
Bit error
0
0
1
0
Stuff error
0
0
1
1
CRC error
0
1
0
0
Form error
0
1
0
1
ACK error
0
1
1
0
Arbitration lost (only in single shot
mode (C1DEF register’s SSHT bit = 1))
0
1
1
1
CAN overrun error
1
0
0
0
Wake-up from CAN bus
Other than above
Undefined
11 to 8
LERR3 to
LERR0
Caution Since the LERR3 to LERR0 bits cannot be cleared, the current status is
retained until the next error occurs.
7 to 0
LREC7 to
LREC0
Indicates the last received message number.
0 to 31: The number of the message buffer last received
32 to 255: Not used
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...