Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1203 of 1852
Nov 30, 2020
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
section 36.3.2, Channel Modes. 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.
CSLPR Bit (Channel Stop Mode)
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
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
ALIEBLIEOLIEBORIEBOEIEEPIEEWIEBEIE————RTBOCSLPRCHMDC[1:0]
Value after reset:
0000000000000101
Bit Symbol Bit Name Description R/W
b1, b0 CHMDC[1:0] 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 CSLPR Channel Stop Mode 0: Other than channel stop mode.
1: Channel stop mode.
R/W
b3 RTBO 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 BEIE Protocol Error Interrupt Enable 0: Protocol error interrupt is disabled.
1: Protocol error interrupt is enabled.
R/W
b9 EWIE Error Warning Interrupt Enable 0: Error warning interrupt is disabled.
1: Error warning interrupt is enabled.
R/W
b10 EPIE Error Passive Interrupt Enable 0: Error passive interrupt is disabled.
1: Error passive interrupt is enabled.
R/W
b11 BOEIE Bus Off Entry Interrupt Enable 0: Bus off entry interrupt is disabled.
1: Bus off entry interrupt is enabled.
R/W
b12 BORIE Bus Off Recovery Interrupt
Enable
0: Bus off recovery interrupt is disabled.
1: Bus off recovery interrupt is enabled.
R/W
b13 OLIE Overload Frame Transmit
Interrupt Enable
0: Overload frame transmit interrupt is disabled.
1: Overload frame transmit interrupt is enabled.
R/W
b14 BLIE Bus Lock Interrupt Enable 0: Bus lock interrupt is disabled.
1: Bus lock interrupt is enabled.
R/W
b15 ALIE Arbitration Lost Interrupt Enable 0: Arbitration lost interrupt is disabled.
1: Arbitration lost interrupt is enabled.
R/W