R01UH0823EJ0100 Rev.1.00
Page 1256 of 1823
Jul 31, 2019
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
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
THLMC[3:0]
—
—
—
—
THLIF THLEL
T
THLFL
L
THLEM
P
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
Bit
Symbol
Bit Name
Description
R/W
b0
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
Transmit History Buffer Full
Status Flag
0: Transmit history buffer is not full.
1: Transmit history buffer is full.
R
b2
Transmit History Buffer Overflow
Flag
0: Transmit history buffer overflow has not occurred.
1: Transmit history buffer overflow has occurred.
R/(W)
*
b3
Transmit History Interrupt
Request Flag
0: No transmit history interrupt request is present.
1: A transmit history interrupt request is present.
R/(W)
*
b7 to b4
—
Reserved
These bits are read as 0. The write value should be 0.
R/W
b11 to b8
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