GD32A50x User Manual
444
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
CH3OF
CH2OF
CH1OF
CH0OF
Reserved
TRGIF
Reserved
CH3IF
CH2IF
CH1IF
CH0IF
UPIF
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
Bits
Fields
Descriptions
31:13
Reserved
Must be kept at reset value.
12
CH3OF
Channel 3 over capture flag
Refer to CH0OF description
11
CH2OF
Channel 2 over capture flag
Refer to CH0OF description
10
CH1OF
Channel 1 over capture flag
Refer to CH0OF description
9
CH0OF
Channel 0 over capture flag
When channel 0 is configured in input mode, this flag is set by hardware when a
capture event occurs while CH0IF flag has already been set. This flag is cleared by
software.
0: No over capture interrupt occurred
1: Over capture interrupt occurred
8:7
Reserved
Must be kept at reset value.
6
TRGIF
Trigger interrupt flag
This flag is set on trigger event and cleared by software. When in pause mode, both
edges on trigger input generates a trigger event, otherwise, only an active edge on
trigger input can generates a trigger event.
0: No trigger event occurred.
1: Trigger interrupt occurred.
5
Reserved
Must be kept at reset value.
4
CH3IF
Channel 3 capture/compare interrupt enable
Refer to CH0IF description
3
CH2IF
Channel 2 capture/compare interrupt enable
Refer to CH0IF description
2
CH1IF
Channel 1 capture/compare interrupt flag
Refer to CH0IF description
1
CH0IF
Channel 0 capture/compare interrupt flag
This flag is set by hardware and cleared by software.
If channel 0 is in input mode, this flag is set when a capture event occurs. If channel