
AT32F421
Series Reference Manual
2022.11.11
Page 254
Rev 2.02
14.5.4.13
TMR16 and TMR17 brake register (TMRx_BRK)
Bit
Register
Reset value
Type
Description
Bit 31: 16 Reserved
0x0
resd
Kept at its default value.
Bit 15
OEN
0x0
rw
Output enable
This bit is used to enable the output of CxOUT and
CxCOUT for those channels that are configured as
output.
0: Output disabled
1: Output enabled.
Bit 14
AOEN
0x0
rw
Automatic output enable
OEN is set automatically at an overflow event.
0: Disabled
1: Enabled
Bit 13
BRKV
0x0
rw
Brake input validity
This bit is used to select the active level of a brake input.
0: Brake input is active low.
1 Brake input is active high.
Bit 12
BRKEN
0x0
rw
Brake enable
This bit is used to enable brake input.
0: Brake input is disabled.
1: Brake input is enabled.
Bit 11
FCSOEN
0x0
rw
Frozen channel status when holistic output enable
This bit acts on the channels that have complementary
output. It is used to set the channel state when the timer
is inactive and MOEN=1.
0: CxOUT/CxCOUT outputs are disabled.
1: CxOUT/CxCOUT outputs are enabled. Output inactive
level.
Bit 10
FCSODIS
0x0
rw
Frozen channel status when holistic output disable
This bit acts on the channels that have complementary
output. It is used to set the channel state when the timer
is inactive and MOEN=0.
0: CxOUT/CxCOUT outputs are disabled.
1: CxOUT/CxCOUT outputs are enabled. Output idle
level.
Bit 9: 8
WPC
0x0
rw
Write protection configuration
This field is used to enable write protection.
00: Write protection is OFF.
01: Write protection level 3, and the following bits are
write protected:
TMRx_BRK: DTC, BRKEN, BRKV and AOEN
TMRx_CTRL2: CxIOS and CxCIOS
10: Write protection level 2. The following bits and all bits
in level 3 are write protected:
TMRx_CCTRL: CxP and CxCP
TMRx_BRK: FCSODIS and FCSOEN
11: Write protection level 1. The following bits and all bits
in level 2 are write protected:
TMRx_CMx: C2OCTRL and C2OBEN
Note: Once WPC>0, its content remains frozen until the
next system reset.
Bit 7: 0
DTC
0x00
rw
Dead-time configuration
This field defines the duration of the dead-time insertion.
The 3-bit MSB of DTC[7: 0] is used for function
selection:
0xx: DT = DTC [7: 0] * TDTS
10x: DT = (64+ DTC [5: 0]) * TDTS * 2
110: DT = (32+ DTC [4: 0]) * TDTS * 8
111: DT = (32+ DTC [4: 0]) * TDTS * 16
Note: Based on lock configuration, AOEN, BRKV, BRKEN, FCSODIS, FCSOEN and DTC[7:0] can all
be write protected. Thus it is necessary to configure write protection when writing to the
TMRx_BRK register for the first time.