Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1207 of 1852
Nov 30, 2020
RX23W Group 36. CAN Module (RSCAN)
36.2.5 Status Register L (STSL)
CRSTSTS Flag (Channel Reset Status Flag)
This flag becomes 1 when the CAN module has transitioned to channel reset mode, and becomes 0 when the CAN
module has transitioned to channel communication mode or channel halt mode. This flag remains 1 even if the CAN
module transitions from channel reset mode to channel stop mode.
CHLTSTS Flag (Channel Halt Status Flag)
This flag becomes 1 when the CAN module has transitioned to channel halt mode, and becomes 0 when the CAN module
has exited channel halt mode.
CSLPSTS Flag (Channel Stop Status Flag)
This flag becomes 1 when the CAN module has transitioned to channel stop mode, and becomes 0 when the CAN
module has returned from channel stop mode.
EPSTS Flag (Error Passive Status Flag)
This flag becomes 1 when the CAN module has entered the error passive state (128 STSH.TEC[7:0] value 255 or
128 STSH.REC[7:0] value), and becomes 0 when the CAN module has exited the error passive state or has entered
channel reset mode.
BOSTS Flag (Bus Off Status Flag)
This flag becomes 1 when the CAN module has entered the bus off state (STSH.TEC[7:0] value > 255), and becomes 0
when the CAN module has exited the bus off state.
Address(es): RSCAN0.STSL 000A 8308h
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
————————
COMS
TS
RECST
S
TRMST
S
BOSTS EPSTS
CSLPS
TS
CHLTS
TS
CRSTS
TS
Value after reset:
0000000000000101
Bit Symbol Bit Name Description R/W
b0 CRSTSTS Channel Reset Status Flag 0: Not in channel reset mode
1: In channel reset mode
R
b1 CHLTSTS Channel Halt Status Flag 0: Not in channel halt mode
1: In channel halt mode
R
b2 CSLPSTS Channel Stop Status Flag 0: Not in channel stop mode
1: In channel stop mode
R
b3 EPSTS Error Passive Status Flag 0: Not in error passive state
1: In error passive state
R
b4 BOSTS Bus Off Status Flag 0: Not in bus off state
1: In bus off state
R
b5 TRMSTS Transmit Status Flag 0: Bus idle or in reception
1: In transmission or bus off state
R
b6 RECSTS Receive Status Flag 0: Bus idle, in transmission or bus off state
1: In reception
R
b7 COMSTS Communication Status Flag 0: Communication is not ready.
1: Communication is ready.
R
b15 to b8 Reserved These bits are read as 0. R