RL78/F13, F14 CHAPTER 18 CAN INTERFACE (RS-CAN LITE)
R01UH0368EJ0210 Rev.2.10 1359
Dec 10, 2015
18.3.62 CANi Transmit Buffer Status Register p (TMSTSp) (i = 0) (p = 0 to 3)
Address TMSTS0: F036CH, TMSTS1: F036DH
TMSTS2: F036EH, TMSTS3: F036FH
b7 b6 b5 b4 b3 b2 b1 b0
— — — TMT
ARM
TMT
RM
TMTRF[1:0] TMT
STS
After Reset 0 0 0 0 0 0 0 0
Bit Symbol Bit Name Description R/W
7 to 5 — Reserved These bits are always read as 0. The write value
should always be 0.
R
4 TMTARM Transmit Buffer Transmit Abort
Request Status Flag
0: No transmit abort request is present.
1: A transmit abort request is present.
R
3 TMTRM Transmit Buffer Transmit Request
Status Flag
0: No transmit request is present.
1: A transmit request is present.
R
2, 1 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
0 TMTSTS Transmit Buffer Transmit Status Flag 0: Transmission is not in progress.
1: Transmission is in progress.
R
The TMSTSp register is cleared to all 0 in channel reset mode.
• TMTARM Flag
The TMTARM flag is set to 1 when the TMTAR bit in the TMCp register is set to 1, and is cleared to 0 when the
TMTAR bit is set to 0.
• TMTRM Flag
The TMTRM flag is set to 1 when the TMTR bit in the TMCp register is set to 1, and is cleared to 0 when the
TMTR bit is set to 0.
• TMTRF[1:0] Flag
This flag indicates the result of transmission from the transmit buffer.
B'00: Transmission is in progress or no transmit request is present.
B'01: Transmission from the transmit buffer was aborted.
B'10: Transmission has been completed with the TMTAR bit in the TMCp register set to 0 (transmit abort is not
requested).
B'11: Transmission has been completed with the TMTAR bit in the TMCp register set to 1 (transmit abort is
requested).
Write B'00 to the TMTRF[1:0] flag in channel communication mode or channel halt mode. Do not write any value
other than B'00 to this flag.
• TMTSTS Flag
This flag is set to 1 when transmission from the transmit buffer starts, and is cleared to 0 when transmission
from the transmit buffer has been completed or terminated due to a bus error or arbitration lost.