NEC V850ES/F 3-L Series User Manual page 583

32-bit single-chip microcontroller
Table of Contents

Advertisement

CAN Controller (CAN)
(15)
Access
Address
Initial Value
CnRGPT - CANn module receive history list register
The CnRGPT register is used to read the receive history list.
This register can be read/written in 16-bit units.
<CnRBaseAddr> + 060
xx02
. The register is initialized by any reset.
H
(a) CnRGPT read
15
14
RGPT7
RGPT6
RGPT5
7
6
0
0
RGPT7
to
Receive history list read pointer
RGPT0
When the CnRGPT register is read, the contents of the element indexed
by the receive history list get pointer (RGPT) of the receive history list are
0 to 31
read. These contents indicate the number of the message buffer in which
a data frame or a remote frame has been stored.
a
RHPM
Receive history list pointer match
The receive history list has at least one message buffer number that has
0
not been read.
The receive history list has no message buffer numbers that have not
1
been read.
a)
The read value of the RGPT0 to RGPT7 bits is invalid when the RHPM bit = 1.
a
ROVF
Receive history list overflow bit
All the message buffer numbers that have not been read are preserved.
All the numbers of the message buffers in which a new data frame or
0
remote frame has been received and stored are recorded to the receive
history list (the receive history list has a vacant element).
At least 23 entries have been stored since the host processor has
serviced the RHL last time (i.e. read CnRGPT). The first 22 entries are
sequentially stored while the last entry can have been overwritten
1
whenever newly received message is stored because all buffer numbers
are stored at position LIPT-1 when ROVF bit is set. Thus the sequence of
receptions can not be recovered completely now.
a)
If ROVF is set, RHPM is no longer cleared on message storage, but RHPM is still
set, if all entries of CnRGPT are read by software.
User's Manual U18743EE1V2UM00
H
13
12
11
RGPT4
RGPT3
5
4
3
0
0
0
Chapter 18
10
9
RGPT2
RGPT1
RGPT0
2
1
0
RHPM
ROVF
8
0
583

Advertisement

Table of Contents
loading

Table of Contents