R01UH0823EJ0100 Rev.1.00
Page 1195 of 1823
Jul 31, 2019
RX23W Group
36. CAN Module (RSCAN)
SJW[1:0] Bits (Resynchronization Jump Width Control)
These bits are used to specify a Tq value for the resynchronization jump width. A value of 1 Tq to 4 Tq can be set. Set a
value equal to or smaller than the value of the TSEG2[3:0] bits.
36.2.3
Control Register L (CTRL)
CHMDC[1:0] Bits (Mode Select)
These bits are used to select a channel mode (channel communication mode, channel reset mode, or channel halt mode).
For details, see
. Setting the CSLPR bit to 1 in channel reset mode allows transition to
channel stop mode. Do not set the CHMDC[1:0] bits to 11b. When the CAN module has transitioned to channel halt
mode depending on the setting of the CTRH.BOM[1:0] bits, the CHMDC[1:0] bits automatically become 10b.
Setting this bit to 1 places the channel in channel stop mode.
Setting this bit to 0 makes the channel leave from channel stop mode.
Do not modify this bit in channel communication mode or channel halt mode.
Address(es): RSCAN0.CTRL 000A 8304h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
ALIE
BLIE
OLIE
BORIE BOEIE
EPIE
EWIE
BEIE
—
—
—
—
RTBO CSLPR
CHMDC[1:0]
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
b1, b0
Mode Select
b1 b0
0 0: Channel communication mode.
0 1: Channel reset mode.
1 0: Channel halt mode.
1 1: Setting prohibited.
R/W
b2
Channel Stop Mode
0: Other than channel stop mode.
1: Channel stop mode.
R/W
b3
Forcible Return from Bus-off
When this bit is set to 1, forcible return from the bus off state
is made. This bit is read as 0.
R/W
b7 to b4
—
Reserved
These bits are read as 0. The write value should be 0.
R/W
b8
Protocol Error Interrupt Enable
0: Protocol error interrupt is disabled.
1: Protocol error interrupt is enabled.
R/W
b9
Error Warning Interrupt Enable
0: Error warning interrupt is disabled.
1: Error warning interrupt is enabled.
R/W
b10
Error Passive Interrupt Enable
0: Error passive interrupt is disabled.
1: Error passive interrupt is enabled.
R/W
b11
Bus Off Entry Interrupt Enable
0: Bus off entry interrupt is disabled.
1: Bus off entry interrupt is enabled.
R/W
b12
Bus Off Recovery Interrupt
Enable
0: Bus off recovery interrupt is disabled.
1: Bus off recovery interrupt is enabled.
R/W
b13
Overload Frame Transmit
Interrupt Enable
0: Overload frame transmit interrupt is disabled.
1: Overload frame transmit interrupt is enabled.
R/W
b14
Bus Lock Interrupt Enable
0: Bus lock interrupt is disabled.
1: Bus lock interrupt is enabled.
R/W
b15
Arbitration Lost Interrupt Enable
0: Arbitration lost interrupt is disabled.
1: Arbitration lost interrupt is enabled.
R/W