698
Chapter 19
CAN Controller (CAN)
Preliminary User’s Manual U17566EE1V2UM00
(17)
CnTGPT - CANn module transmit history list register
The CnTGPT register is used to read the transmit history list.
(a) Read
Note
1.
The read value of the TGPT0 to TGPT7 bits is invalid when the
THPM bit = 1.
2.
If no new data frame or remote frame is transmitted after the TOVF bit has
been set, the message buffer number last recorded to the transmit history
list is preserved.
3.
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
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
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 to which a new data frame
or remote frame has been transmitted is recorded to the transmit history list, by overwriting
the message buffer number that was recorded last (the transmit history list does not have a
vacant element).
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
electronic components distributor