![ARTERY AT32F435 Series Reference Manual Download Page 407](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592407.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 407
Rev 2.03
FACFG
21Ch
0x0000 0000
Reserved
220h~23Fh
xx
FB0F1
240h
0xXXXX XXXX
FB0F2
244h
0xXXXX XXXX
FB1F1
248h
0xXXXX XXXX
FB1F2
24Ch
0xXXXX XXXX
…
…
…
FB27F1
318h
0xXXXX XXXX
FB27F2
31Ch
0xXXXX XXXX
20.7.1 CAN control and status registers
20.7.1.1 CAN master control register (CAN_MCTRL)
Bit
Register
Reset value
Type
Description
Bit 31: 17 Reserved
0x0000
resd
Kept at its default value.
Bit 16
PTD
0x1
rw
Prohibit trans when debug
0: Transmission works during debug
1: Transmission is prohibited during debug. Receive FIFO
can be still accessible normally.
Note: Transmission can be disabled only when PTD and
CANx_PAUSE bits in the DEBUG_CTRL register are set
simultaneously.
Bit 15
SPRST
0x0
rw1s
Software partial reset
0: Normal
1: Software partial reset
Note:
SPRST only reset receive FIFO and MCTRL register.
The CAN enters Sleep mode after reset. Then this bit is
automatically cleared by hardware.
Bit 14: 8
Reserved
0x00
resd
Kept at its default value.
Bit 7
TTCEN
0x0
rw
Time triggered communication mode enable
0: Time triggered communication mode disabled
1: Time triggered communication mode enabled
Bit 6
AEBOEN
0x0
rw
Automatic exit bus-off enable
0: Automatic exit bus-off disabled
1: Automatic exit bus-off enabled
Note:
When Automatic exit bus-off mode is enabled, the
hardware will automatically leave bus-off mode as soon as
an exit timing is detected on the CAN bus.
When Automatic exit bus-off mode is disabled, the
software must enter/leave the freeze mode once more,
and then the bus-off state is left only when an exit timing
is detected on the CAN bus.
Bit 5
AEDEN
0x0
rw
Automatic exit doze mode enable
0: Automatic exit sleep mode disabled
1: Automatic exit sleep mode enabled
Note:
When
Automatic exit sleep mode is disabled, the sleep
mode is left by software clearing the sleep request
command.
When Automatic exit sleep mode is enabled, the sleep
mode is left without the need of software intervention as
soon as a message is monitored on the CAN bus.
Bit 4
PRSFEN
0x0
rw
Prohibit retransmission enable when sending fails enable
0: Retransmission is enabled.
1: Retransmission is disabled.
Bit 3
MDRSEL
0x0
rw
Message discard rule select when overflow
0: The previous message is discarded.