BAT32G1x9 user manual | Chapter 22 CAN control
908 / 1149
Rev.1.02
22.7.16
CAN module receive History List Register (CnRGPT).
The CnRGPT register is used to read the received history list.
Figure 22-41. CAN
module receives the History List Register Format
(CnRGPT) (1/2
).
(a) read
(b) write
(a) read
RGPT7-RGPT0
Receives a list of history to get a pointer
0 to
15
When the CnRGPT register is read, the contents of the index element obtained by
receiving the history list (RGPT)
are read. These indicate the number of message
buffers that store data frames or remote frames.
RHPM
1
Receives history list pointer matches
0
The receive history list has at least one packet buffer number that has not yet been read
1
The receive history list does not have a packet buffer number that has not yet been read
1 When the RHPM is 1, the reading values from RGPT0 to RGPT7 are invalid
ROVF
1
Receives history list overflow bits
0
All packet buffer numbers that have not yet been read are retained. The packet cache numbers
received and stored in all new data frames or remote frames have been recorded to the
receive history list (the receive history list has an empty element)
1
At least 23 entries have been stored since the host processor last served THE RHL (i.e. read the
CnRGPT). The first 22 entries are stored sequentially, and the last entry can be overwritten
whenever a newly received message is stored, because when the ROVF bit is set, all buffer
numbers are stored in the LIPT-1 position. Therefore, the order received cannot now be fully
restored.
1 If ROVF is set, RHPM is no longer cleared when message storage is set, but if the
software reads all entries of cnRGPT, RHPM is still set
Figure 22-41. CAN
module receives the History List Register Format
(CnRGPT) (2/2
).
(b) write
ClearROVF
Set the ROVF
bit
0
ROVF does not change
1
ROVF clear
0