Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1208 of 1852
Nov 30, 2020
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
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
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