697
CAN Controller (CAN)
Chapter 19
Preliminary User’s Manual U17566EE1V2UM00
(b) Write
(16)
CnLOPT - CANn module last out-pointer register
The CnLOPT register indicates the number of the message buffer to which a
data frame or a remote frame was transmitted last.
Note
The value read from the CnLOPT register is undefined if a data frame or
remote frame has never been transmitted from a message buffer. If the
CnTGPT.THPM bit is set to 1 after the CAN module has changed from the
initialization mode to an operation mode, therefore, the read value of the
CnLOPT register is undefined.
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.
After reset: Undefined
R
Address: CnLOPT <CnRBaseAddr> + 062
H
7
6
5
4
3
2
1
0
CnLOPT
LOPT7
LOPT6
LOPT5
LOPT4
LOPT3
LOPT2
LOPT1
LOPT0
LOPT7 to LOPT0
Last out-pointer of transmit history list (LOPT)
0 to 31
When the CnLOPT register is read, the contents of the element indexed by the last out-
pointer (LOPT) of the receive 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.
electronic components distributor