R01UH0823EJ0100 Rev.1.00
Page 1199 of 1823
Jul 31, 2019
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
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
—
—
—
COMS
TS
RECST
S
TRMST
S
BOSTS EPSTS CSLPS
TS
CHLTS
TS
CRSTS
TS
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
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
Channel Halt Status Flag
0: Not in channel halt mode
1: In channel halt mode
R
b2
Channel Stop Status Flag
0: Not in channel stop mode
1: In channel stop mode
R
b3
Error Passive Status Flag
0: Not in error passive state
1: In error passive state
R
b4
Bus Off Status Flag
0: Not in bus off state
1: In bus off state
R
b5
Transmit Status Flag
0: Bus idle or in reception
1: In transmission or bus off state
R
b6
Receive Status Flag
0: Bus idle, in transmission or bus off state
1: In reception
R
b7
Communication Status Flag
0: Communication is not ready.
1: Communication is ready.
R
b15 to b8
—
Reserved
These bits are read as 0.
R