794
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
(15) CnRGPT - CANn module receive history list register
The CnRGPT register is used to read the receive history list.
(a) Read
Notes: 1.
The read value of the RGPT0 to RGPT7 bits is invalid when the RHPM bit = 1.
2.
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.
(b) Write
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
Note 2
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
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 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.
15
14
13
12
11
10
9
8
CnRGPT
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
Clear
ROVF
Clear ROVF
Setting of ROVF bit
0
ROVF bit is not changed.
1
ROVF bit is cleared to 0.
Summary of Contents for MuPD70F3187
Page 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Page 16: ...16 User s Manual U16580EE3V1UD00 ...
Page 28: ...28 User s Manual U16580EE3V1UD00 ...
Page 32: ...32 User s Manual U16580EE3V1UD00 ...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Page 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Page 1053: ......