GD32A50x User Manual
159
fields
bits value
trigger input selection
0x39
TIMER20_TRGO
0x3a
TIMER5_TRGO
0x3b
TIMER6_TRGO
0x3c
MFCOM_TRIG0
0x3d
MFCOM_TRIG1
0x3e
MFCOM_TRIG2
0x3f
MFCOM_TRIG3
0x40
RTC_Alarm
0x41
RTC_Second
0x42
TRIGSEL_IN12
0x43
TRIGSEL_IN13
0x44~0x7f
reserved
Table 7-2. TRIGSEL input and output mapping
shows the connection relationship
between TRIGSEL input and output. Through the INSELx[6:0] bits of TRIGSEL register, an
input trigger source can be selected for the output of TRIGSEL. Each TRIGSEL register can
configure with up to 4 outputs, which are connected to the corresponding peripherals.
Table 7-2. TRIGSEL input and output mapping
Trigger Source Trigger select TRIGSEL Register TRIGSEL output
Peripherals
1’b0
INSELx[6:0]
TRIGSEL_EXOUT0
output0
output1
output2
output3
TRIGSEL_OUT0
TRIGSEL_OUT1
TRIGSEL_OUT2
TRIGSEL_OUT3
1’b1
TRIGSEL_IN0
TRIGSEL_IN1
TRIGSEL_IN2
TRIGSEL_EXOUT1
output0
output1
output2
output3
TRIGSEL_OUT4
TRIGSEL_OUT5
TRIGSEL_OUT6
TRIGSEL_OUT7
TRIGSEL_IN3
TRIGSEL_IN4
TRIGSEL_IN5
TRIGSEL_IN6
TRIGSEL_ADC0
output0
ADC0_RTTRG
TRIGSEL_IN7
TRIGSEL_IN8
TRIGSEL_IN9
TRIGSEL_IN10
TRIGSEL_ADC1
output0
ADC1_RTTRG
TRIGSEL_IN11
CMP_OUT
reserved
LXTAL_TRG
TRIGSEL_DAC
output0
DAC_EXTRG
TIMER1_CH0
TIMER1_CH1
TIMER1_CH2
TIMER1_CH3
TRIGSEL_TIMER0BR
output0
TIMER0_BRKIN0