NEC V850ES/F 3-L Series User Manual page 585

32-bit single-chip microcontroller
Table of Contents

Advertisement

CAN Controller (CAN)
(17)
Access
Address
Initial Value
Note
CnTGPT - CANn module transmit history list register
The CnTGPT register is used to read the transmit history list.
This register can be read/written in 16-bit units.
<CnRBaseAddr> + 064
xx02
. The register is initialized by any reset.
H
(a) CnTGPT read
15
14
TGPT7
TGPT6
TGPT5
7
6
0
0
TGPT7 to
Transmit history list read pointer
TGPT0
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
0 to 31
contents indicate the number of the message buffer to which a data frame
or a remote frame was transmitted last.
a
THPM
Transmit history pointer match
The transmit history list has at least one message buffer number that has
0
not been read.
The transmit history list has no message buffer numbers that have not
1
been read.
a)
The read value of the TGPT0 to TGPT7 bits is invalid when the THPM bit = 1.
a
TOVF
Transmit history list overflow bit
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
0
remote frame has been transmitted are recorded to the transmit history
list (the transmit history list has a vacant element).
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
1
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.
a)
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.
Transmission from message buffers 0 to 7 is not recorded to the transmit
history list in the normal operation mode with ABT.
User's Manual U18743EE1V2UM00
H
13
12
11
TGPT4
TGPT3
5
4
3
0
0
0
Chapter 18
10
9
TGPT2
TGPT1
TGPT0
2
1
0
THPM
TOVF
8
0
585

Advertisement

Table of Contents
loading

Table of Contents