R01UH0823EJ0100 Rev.1.00
Page 1245 of 1823
Jul 31, 2019
RX23W Group
36. CAN Module (RSCAN)
36.2.61
Transmit Buffer Control Register p (TMCp) (p = 0 to 3)
Note 1. Only 1 can be written to this bit. Writing 0 does not affect the bit value.
When the TMCp register meets the following condition, set it to 00h.
The TMCp register corresponds to the transmit buffer number selected by the CFCCH0.CFTML[1:0] bits.
Bits in the TMCp register become all 0s in channel reset mode. Modify the TMCp register (p = 0 to 3) only in channel
communication mode or channel halt mode.
Setting this bit to 1 transmits the message stored in the transmit buffer.
The TMTR bit becomes 0 when any of the following conditions is met, but does not become 0 by writing 0 by the
program.
Transmission has been completed.
Transmit abort has been completed by setting the TMTAR bit to 1.
An error or arbitration lost has been detected with the TMOM bit set to 1.
Set the TMTR bit to 1 when the TMSTSp.TMTRF[1:0] value is 00b.
TMTAR Bit (Transmit Abort Request)
Setting this bit to 1 generates a transmit abort request for the message stored in the transmit buffer. However, a message
that is being transmitted or to be transmitted next cannot be aborted.
When the TMTR bit becomes 1, the TMTAR bit can be set to 1.
The TMTAR bit is set to 0 when any of the following conditions is met, but does not become 0 by writing 0 by the
program.
Transmission has been completed.
Transmit abort has been completed.
An error or arbitration lost has been detected.
If this bit becomes 0 at the timing when the program writes 1 to this bit, this bit becomes 0.
TMOM Bit (One-Shot Transmission Enable)
Setting this bit to 1 enables one-shot transmission. When transmission fails, retransmission defined in the CAN protocol
is not performed.
Address(es): RSCAN0.TMC0 000A 8364h, RSCAN0.TMC1 000A 8365h, RSCAN0.TMC2 000A 8366h,
RSCAN0.TMC3 000A 8367h
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
TMOM TMTAR TMTR
Value after reset:
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
Transmit Request
0: Transmission is not requested.
1: Transmission is requested.
R/(W)
*
b1
Transmit Abort Request
0: Transmit abort is not requested.
1: Transmit abort is requested.
R/(W)
*
b2
One-Shot Transmission Enable
0: One-shot transmission is disabled.
1: One-shot transmission is enabled.
R/W
b7 to b3
—
Reserved
These bits are read as 0. The write value should be 0.
R/W