
Rev. 1.00
351 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
15 Motor Control T
imer (MCTM)
15 Motor Control T
imer (MCTM)
Bits
Field
Descriptions
[11:8]
BKF
Break Input Filter Setting
These bits define the frequency ratio used to sample the MT_BRK signal. The
digital
filter in the MCTM is an N-event counter where N is defined as how many valid
transitions
are necessary to output a filtered signal.
0000: No filter – do not need sample clock
0001: f
sampling
= f
CLKIN
, N = 2
0010: f
sampling
= f
CLKIN
, N = 4
0011: f
sampling
= f
CLKIN
, N = 8
0100: f
sampling
= f
DTS
/2, N = 6
0101: f
sampling
= f
DTS
/2, N = 8
0110: f
sampling
= f
DTS
/4, N = 6
0111: f
sampling
= f
DTS
/4, N = 8
1000: f
sampling
= f
DTS
/8, N = 6
1001: f
sampling
= f
DTS
/8, N = 8
1010: f
sampling
= f
DTS
/16, N = 5
1011: f
sampling
= f
DTS
/16, N = 6
1100: f
sampling
= f
DTS
/16, N = 8
1101: f
sampling
= f
DTS
/32, N = 5
1110: f
sampling
= f
DTS
/32, N = 6
1111: f
sampling
= f
DTS
/32, N = 8
[5]
CHAOE
Channel Automatic Output Enable
0: CHMOE can be set only by software
1: CHMOE can be set by software or automatically by an update event 1
[4]
CHMOE
Channel Main Output Enable
Cleared asynchronously by hardware on a break event occurrence.
0: MT_CHxO and MT_CHxNO are disabled or forced to idle states
1: MT_CHxO and MT_CHxNO are enabled if the enable bits (CHxE, CHxNE) are set
[1]
BKP
Break Input Polarity
0: Break input is active low
1: Break input is active high
[0]
BKE
Break Enable
0: Break inputs is disabled
1: Break inputs is enabled