Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1254 of 1852
Nov 30, 2020
RX23W Group 36. CAN Module (RSCAN)
Modify the TMOM bit when the TMSTSp.TMTRM flag is 0. To set the TMOM bit to 1, also set the TMTR bit together.
36.2.62 Transmit Buffer Status Register p (TMSTSp) (p = 0 to 3)
The TMSTSp register becomes all 0s in channel reset mode.
TMTSTS Flag (Transmit Buffer Transmit Status Flag)
This flag becomes 1 when transmission from the transmit buffer starts, and becomes 0 when transmission from the
transmit buffer has been completed or terminated due to a bus error or arbitration lost.
TMTRF[1:0] Flags (Transmit Buffer Transmit Result Flag)
These flags indicate the result of transmission from the transmit buffer.
00b: Transmission is in progress or no transmit request is present.
01b: Transmission from the transmit buffer was aborted.
10b: Transmission has been completed with the TMCp.TMTAR bit set to 0 (transmit abort is not requested).
11b: Transmission has been completed with the TMCp.TMTAR bit set to 1 (transmit abort is requested).
Write 00b to the TMTRF[1:0] flags in channel communication mode or channel halt mode. Do not write any value other
than 00b to these flags.
TMTRM Flag (Transmit Buffer Transmit Request Status Flag)
The TMTRM flag becomes 1 when the TMCp.TMTR bit is set to 1, and becomes 0 when the TMCp.TMTR bit is set to
0.
TMTARM Flag (Transmit Buffer Transmit Abort Request Status Flag)
The TMTARM flag becomes 1 when the TMCp.TMTAR bit is set to 1, and becomes 0 when the TMCp.TMTAR bit is
set to 0.
Address(es): RSCAN0.TMSTS0 000A 836Ch, RSCAN0.TMSTS1 000A 836Dh, RSCAN0.TMSTS2 000A 836Eh,
RSCAN0.TMSTS3 000A 836Fh
b7 b6 b5 b4 b3 b2 b1 b0
———
TMTAR
M
TMTR
M
TMTRF[1:0]
TMTST
S
Value after reset:
00000000
Bit Symbol Bit Name Description R/W
b0 TMTSTS Transmit Buffer Transmit Status
Flag
0: Transmission is not in progress.
1: Transmission is in progress.
R
b2, b1 TMTRF[1:0] Transmit Buffer Transmit Result
Flag
b2 b1
0 0: Transmission is in progress or no transmit request is
present.
0 1: Transmit abort has been completed.
1 0: Transmission has been completed (without transmit
abort request).
1 1: Transmission has been completed (with transmit
abort request).
R/W
b3 TMTRM Transmit Buffer Transmit
Request Status Flag
0: No transmit request is present.
1: A transmit request is present.
R
b4 TMTARM Transmit Buffer Transmit Abort
Request Status Flag
0: No transmit abort request is present.
1: A transmit abort request is present.
R
b7 to b5 Reserved These bits are read as 0. The write value should be 0. R