R01UH0823EJ0100 Rev.1.00 Page 1200 of 1823
Jul 31, 2019
RX23W Group 36. CAN Module (RSCAN)
TRMSTS Flag (Transmit Status Flag)
This flag becomes 1 when transmission has started, and becomes 0 when the bus has become idle or reception has
started. This flag remains 1 in the bus off state.
RECSTS Flag (Receive Status Flag)
This flag becomes 1 when reception has started, and becomes 0 when the bus has become idle or transmission has
started.
COMSTS Flag (Communication Status Flag)
This flag indicates that communication is ready.
This flag becomes 1 when the CAN module has detected 11 consecutive recessive bits after it has transitioned from
channel reset mode or channel halt mode to channel communication mode. This flag becomes 0 in channel reset mode or
channel halt mode.
36.2.6 Status Register H (STSH)
REC[7:0] Flags
These flags indicate the receive error counter value. For receive error counter increment/decrement conditions, see the
CAN standard (ISO 11898-1).
These flags become 00h in channel reset mode.
TEC[7:0] Flags
These flags indicate the transmit error counter value. For transmit error counter increment/decrement conditions, see the
CAN standard (ISO 11898-1).
These flags become 00h in channel reset mode.
Address(es): RSCAN0.STSH 000A 830Ah
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
TEC[7:0] REC[7:0]
Value after reset:
0000000000000000
Bit Symbol Description R/W
b7 to b0 REC[7:0] The receive error counter (REC) can be read. R
b15 to b8 TEC[7:0] The transmit error counter (TEC) can be read. R