796
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
(17) CnTGPT - CANn module transmit history list register
The CnTGPT register is used to read the transmit history list.
(a) Read
Notes: 1.
The read value of the TGPT0 to TGPT7 bits is invalid when the THPM bit = 1.
2.
If TOVF is set, THPM is no longer cleared on message transmission, but THPM is still set, if
all entries of CnTGPT are read by software.
Remark:
Transmission from message buffers 0 to 7 is not recorded to the transmit history list in the
normal operation mode with ABT.
(b) Write
After reset: xx02H
R/W
Address: CnTGPT <CnRBaseAddr> + 064
H
15
14
13
12
11
10
9
8
CnTGPT
TGPT7
TGPT6
TGPT5
TGPT4
TGPT3
TGPT2
TGPT1
TGPT0
7
6
5
4
3
2
1
0
0
0
0
0
0
0
THPM
TOVF
TGPT7 to TGPT0
Transmit history list read pointer
0 to 31
When the CnTGPT register is read, the contents of the element indexed by the read pointer
(TGPT) of the transmit history list are read. These contents indicate the number of the
message buffer to which a data frame or a remote frame was transmitted last.
THPM
Note 1
Transmit history pointer match
0
The transmit history list has at least one message buffer number that has not been read.
1
The transmit history list has no message buffer numbers that have not been read.
TOVF
Note 2
Transmit history list overflow bit
0
All the message buffer numbers that have not been read are preserved. All the numbers of
the message buffers to which a new data frame or remote frame has been transmitted are
recorded to the transmit history list (the transmit history list has a vacant element).
1
At least 7 entries have been stored since the host processor has serviced the THL last
time (i.e. read CnTGPT). The first 6 entries are sequentially stored while the last entry
can have been overwritten whenever a message is newly transmitted because all buffer
numbers are stored at position LOPT-1 when TOVF bit is set. Thus the sequence of
transmissions can not be recovered completely now.
15
14
13
12
11
10
9
8
CnTGPT
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
Clear
TOVF
Содержание V850E/PH2
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00...
Страница 16: ...16 User s Manual U16580EE3V1UD00...
Страница 28: ...28 User s Manual U16580EE3V1UD00...
Страница 32: ...32 User s Manual U16580EE3V1UD00...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only User s Manual U16580EE3V1UD00 MEMO...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00...
Страница 1053: ......