![NEC V850/SC1 Скачать руководство пользователя страница 618](http://html.mh-extra.com/html/nec/v850-sc1/v850-sc1_user-manual_248178618.webp)
CHAPTER 19 FCAN CONTROLLER (V850/SC3)
User’s Manual U15109EJ3V0UD
616
19.5.21 CANn information register (CnLAST)
The CnLAST register indicates the CANn module’s error information and the number of the message buffer
received last.
This register is read-only, in 16-bit units.
The C2LAST register is valid only in models
µ
PD703089Y and 70F3089Y.
After reset: 00FFH
R
Addresses: C1LAST: xx3FFC54H
C2LAST: xx3FFC94H
15
14
13
12
11
10
9
8
CnLAST
0
0
0
0
LERR3
LERR2
LERR1
LERR0
(n = 1, 2)
7
6
5
4
3
2
1
0
LREC7
LREC6
LREC5
LREC4
LREC3
LREC2
LREC1
LREC0
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 during single shot
mode) (CnDEF: SSHT = 1)
0
1
1
1
CAN overwrite error
1
0
0
0
Wakeup from CAN bus
Other than above
Setting prohibited
•
Since bits LERR3 to LERR0 cannot be cleared, the current status is retained until the next
error occurs.
LREC7 to LREC0
Number of last receive message
0 to 31
Message number of message last received
32 to 255
Not used