
Rev. 1.00
307 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)
When using the break function, the channel output enable signals and output levels are changed
depending on several control bits which include the CHMOE, CHOSSI, CHOSSR, CHxOIS
and CHxOISN bits. Once a break event occurs, the output enable bit CHMOE will be cleared
asynchronously. The break interrupt flag, BRKIF, will be set and then an interrupt will be
generated if the break function interrupt is enabled by setting the BRKIE bit to 1. The channel
output behavior is as described below:
▆
If complementary outputs are used, the channel outputs a level signal first which can be
selected to be either a disable or inactive level, selected by configuring the CHOSSI bit in the
CHBRKCTR register. After the dead-time duration, the outputs will be changed to the idle state.
The idle state is determined by the CHxOIS/CHxOISN bits in the CHBRKCFR register.
▆
If complementary outputs are not used (Channel 3), the channel will output an idle state.
The main output enable control bit CHMOE cannot be set until the break event is cleared.
CHxOREF
CHMOE
CH3O
CH3P = 0, CH3OIS = 0
CH3O
CH3P = 0, CH3OIS = 1
CH3O
CH3P = 1, CH3OIS = 0
Break event
CH3O
CH3P = 1, CH3OIS = 1
Figure 101. Channel 3 Output with a Break Event Occurrence