32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
Trigger Controller
The trigger controller is used to select the trigger source and setup the trigger level and edge trigger
conditions. For the internal trigger input (ITIx), it can be selected by the Trigger Selection bits,
TRSEL, in the TRCFR register. For all the trigger sources except the UEV1G bit software trigger,
the internal edge detection circuitry will generate a clock pulse at each trigger signal rising edge to
activate some MCTM functions which are triggered by a trigger signal rising edge.
Trigger Controller Block = Edge Trigger Mux + Level Trigger Mux
Internal Trigger Input
ITI0
ITI1
ITI2
Edge Trigger Source = Internal (ITIx) + Channel input (TIn)
Edge Trigger Mux
0
TI0S0ED
TI1S1ED
TI0BED
ITI0ED
ITI1ED
ITI2ED
Reserved
Level Trigger Source = Internal (ITIx) + Channel input (TIn) + Software UEV1G bit
Level Trigger Mux
SW Set
UEV1G Bit
TI0S0
TI1S1
0
ITI0
ITI1
ITI2
Reserved
Figure 99. Trigger Controller Block
Rev. 1.00
Edge
Detection
f
CLKIN
TRSEL[2:0]
000
001
010
STIED_S1
011
others
TRSEL[2:0]
000
001
010
STI_S1
011
others
304 of 486
ITI0ED
ITI1ED
ITI2ED
000
001
010
Reserved
011
STIED_S0
others
Reserved
TRSEL[3]
000
001
010
Reserved
011
others
Reserved
STI_S0
0
1
TRSEL[3]
0
STIED
1
TRCED
STI
July 31, 2018
Need help?
Do you have a question about the HT32F50231 and is the answer not in the manual?
Questions and answers