696
Chapter 19
CAN Controller (CAN)
Preliminary User’s Manual U17566EE1V2UM00
(15)
CnRGPT - CANn module receive history list register
The CnRGPT register is used to read the receive history list.
(a) Read
Note
1.
The read value of the RGPT0 to RGPT7 bits is invalid when the
RHPM bit = 1.
2.
If no new data frame or remote frame is received and stored in a message
buffer after the ROVF bit has been set, the message buffer number last
recorded to the receive history list is preserved.
After reset: xx02H
R/W
Address: CnRGPT <CnRBaseAddr> + 060
H
15
14
13
12
11
10
9
8
CnRGPT
RGPT7
RGPT6
RGPT5
RGPT4
RGPT3
RGPT2
RGPT1
RGPT0
7
6
5
4
3
2
1
0
0
0
0
0
0
0
RHPM
ROVF
RGPT7 to
RGPT0
Receive history list read pointer
0 to 31
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 read. These contents indicate the number
of the message buffer in which a data frame or a remote frame has been stored.
RHPM
Note 1
Receive history list pointer match
0
The receive history list has at least one message buffer number that has not been read.
1
The receive history list has no message buffer numbers that have not been read.
ROVF
Receive history list overflow bit
0
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 remote frame has been received and stored are
recorded to the receive history list (the receive history list has a vacant element).
1
All the message buffer numbers that are recorded are preserved except the message buffer
number recorded last
Note 2
. The number of the message buffer in which a new data frame or
remote frame has been received and stored is recorded to the receive history list, by
overwriting the message buffer number that was recorded last (the receive history list does not
have a vacant element).
electronic components distributor