Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1264 of 1852
Nov 30, 2020
RX23W Group 36. CAN Module (RSCAN)
36.2.75 Transmit History Buffer Status Register (THLSTS0)
Note 1. Only 0 can be written to this bit, to clear the flag. Writing 1 does not affect the flag value.
THLEMP Flag (Transmit History Buffer Empty Status Flag)
The THLEMP flag becomes 0 when even a single set of transmit history data has been stored in the transmit history
buffer.
This flag becomes 1 when all the data in the transmit history buffer has been read. This flag also becomes 1 in channel
reset mode or when the THLCC0.THLE bit is set to 0 (transmit history buffer is not used).
THLFLL Flag (Transmit History Buffer Full Status Flag)
The THLFLL flag becomes 1 when 8 data sets have been stored in the transmit history buffer, and becomes 0 when the
number of data sets stored in the transmit history buffer has decreased to less than 8.
This flag also becomes 0 in channel reset mode or when the THLCC0.THLE bit is set to 0 (transmit history buffer is not
used).
THLELT Flag (Transmit History Buffer Overflow Flag)
The THLELT flag becomes 1 when it is attempted to store new transmit history data while the transmit history buffer is
full. In this case, the new data is discarded.
This flag becomes 0 in channel reset mode or by writing 0 to this flag by the program.
THLIF Flag (Transmit History Interrupt Request Flag)
The THLIF flag becomes 1 when the interrupt source set by the THLCC0.THLIM bit has occurred.
This flag becomes 0 in channel reset mode or by writing 0 to this flag by the program.
THLMC[3:0] Flags (Transmit History Buffer Unread Data Counter)
These flags indicate the number of unread data sets stored in the transmit history buffer.
Address(es): RSCAN0.THLSTS0 000A 8380h
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
———— THLMC[3:0] ————THLIF
THLEL
T
THLFL
L
THLEM
P
Value after reset:
0000000000000001
Bit Symbol Bit Name Description R/W
b0 THLEMP Transmit History Buffer Empty
Status Flag
0: Transmit history buffer contains unread data.
1: Transmit history buffer contains no unread data
(buffer empty).
R
b1 THLFLL Transmit History Buffer Full
Status Flag
0: Transmit history buffer is not full.
1: Transmit history buffer is full.
R
b2 THLELT Transmit History Buffer Overflow
Flag
0: Transmit history buffer overflow has not occurred.
1: Transmit history buffer overflow has occurred.
R/(W)
*
1
b3 THLIF Transmit History Interrupt
Request Flag
0: No transmit history interrupt request is present.
1: A transmit history interrupt request is present.
R/(W)
*
1
b7 to b4 Reserved These bits are read as 0. The write value should be 0. R/W
b11 to b8 THLMC[3:0] Transmit History Buffer Unread
Data Counter
These bits indicate the number of unread data sets stored in
the transmit history buffer.
R
b15 to b12 Reserved These bits are read as 0. The write value should be 0. R/W