AT32F421
Series Reference Manual
2022.11.11
Page 237
Rev 2.02
14.4.4.15
TMR15 brake register (TMR15_BRK)
Bit
Register
Reset value
Type
Description
Bit 31: 17
Reserved
0x0
resd
Kept at its default value.
Bit 19: 16
BKF
0x0
rw
Brake input filter
This field is used to configure the filter for brake input. If
the number of filter is N, it indicates that the input edge
can pass through the filter only after N sampling events.
0000: No filter.
f
𝐷𝑇𝑆
(sampling frequency)
1000:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/8, N=6
0001:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐶𝐾_𝐼𝑁𝑇
, N=2
1001:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/8, N=8
0010:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐶𝐾_𝐼𝑁𝑇
, N=4
1010:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/16, N=5
0011:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐶𝐾_𝐼𝑁𝑇
, N=8
1011:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/16, N=6
0100:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/2, N=6
1100:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/16, N=8
0101:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/2, N=8
1101:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/32, N=5
0110:
f
𝑆𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/4, N=6
1110:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/32, N=6
0111:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/4, N=8
1111:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/32, N=8
Bit 15
OEN
0x0
rw
Output enable
This bit acts on the channels as output. It is used to
enable CxOUT and CxCOUT outputs.
0: Disabled
1: 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.