GD32A50x User Manual
157
Figure 7-1. TRIGSEL main composition example
Peripheral_x
Trigger Select
Trigger input 0
Trigger input 1
Trigger input 127
0
1
...
127
LK
INSELx
Trigger Register
Trigger output 3
Trigger output 2
Trigger output 1
Trigger output 0
7.4.
Internal connect
The TRIGSEL allows software to select the trigger input for peripherals. The
Trigger input bit fields selection
gives the trigger input register selection.
Table 7-1. Trigger input bit fields selection
fields
bits value
trigger input selection
INSELx
0x00
0
0x01
1
0x02
TRIGSEL_IN0
0x03
TRIGSEL_IN1
0x04
TRIGSEL_IN2
0x05
TRIGSEL_IN3
0x06
TRIGSEL_IN4
0x07
TRIGSEL_IN5
0x08
TRIGSEL_IN6
0x09
TRIGSEL_IN7
0x0a
TRIGSEL_IN8
0x0b
TRIGSEL_IN9
0x0c
TRIGSEL_IN10
0x0d
TRIGSEL_IN11
0x0e
CMP_OUT
0x0f
reserved