NEC V850E/Dx3 Preliminary User's Manual page 698

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 19
After reset: xx02H
TGPT7 to TGPT0
THPM
698
Downloaded from
Elcodis.com
electronic components distributor
(17)
CnTGPT - CANn module transmit history list register
The CnTGPT register is used to read the transmit history list.
R/W
Address: CnTGPT <CnRBaseAddr> + 064
(a) Read
15
14
CnTGPT
TGPT7
TGPT6
7
0
Transmit history list read pointer
When the CnTGPT register is read, the contents of the element indexed by the read pointer
0 to 31
(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.
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
All the message buffer numbers that have not been read are preserved. All the numbers of
0
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).
All the message buffer numbers that are recorded are preserved except the message buffer
number recorded last
1
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).
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
15
14
CnTGPT
0
7
0
Preliminary User's Manual U17566EE1V2UM00
13
12
TGPT5
TGPT4
6
5
4
0
0
0
Note 2
. The number of the message buffer to which a new data frame
13
12
0
0
0
6
5
4
0
0
0
CAN Controller (CAN)
H
11
10
9
TGPT3
TGPT2
TGPT1
3
2
1
0
0
THPM
11
10
9
0
0
0
3
2
1
0
0
0
8
TGPT0
0
TOVF
8
0
0
Clear
TOVF

Advertisement

Table of Contents
loading

Table of Contents