
Rev. 1.00
252 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
14 Pulse W
idth Modulator (PWM)
14 Pulse W
idth Modulator (PWM)
Trigger Controller
The trigger controller is used to select the trigger source and setup the trigger level or edge trigger
condition. For the internal trigger input, it can be selected by the Trigger Selection bits TRSEL in
the TRCFR register. For all the trigger sources except the UEVG bit software trigger, the internal
edge detection circuitry will generate a clock pulse at each trigger signal rising edge to stimulate
some PWM functions which are triggered by a trigger signal rising edge.
STIED
TRSEL[3:0]
Edge Trigger Mux
ITI0ED
ITI1ED
ITI2ED
STI
TRSEL[3:0]
ITI0
ITI1
ITI2
Reserved
0000
1001
1010
1011
others
0000
1001
1010
1011
others
Reserved
Level Trigger Mux
Reserved
S/W Set UEVG Bit
Trigger Controller Block = Edge Trigger Mux + Level Trigger Mux
Edge Detection
ITI0
ITI1
ITI2
ITI0ED
ITI1ED
ITI2ED
f
CLKIN
Internal Trigger Input
Edge Trigger Source = Internal (ITIx)
Level Trigger Source = Internal (ITIx) + Software UEVG bit
Figure 68. Trigger Control Block