GD32F20x User Manual
446
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
CH1OF
CH0OF
Reserved
TRGIF
Reserved
CH1IF
CH0IF
UPIF
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
Bits
Fields
Descriptions
31:11
Reserved
Must be kept at reset value.
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 by hardware on trigger event and cleared by software. When the
slave mode controller is enabled in all modes but pause mode, an active edge on
trigger input generates a trigger event. When the slave mode controller is enabled
in pause mode both edges on trigger input generates a trigger event.
0: No trigger event occurred.
1: Trigger interrupt occurred.
5:3
Reserved
Must be kept at reset value.
2
CH1IF
Channel 1 ‘s capture/compare interrupt flag
Refer to CH0IF description
1
CH0IF
Channel
0 ‘s capture/compare interrupt flag
This flag is set by hardware and cleared by software. When channel 0 is in input
mode, this flag is set when a capture event occurs. When channel 0 is in output
mode, this flag is set when a compare event occurs.
0: No Channel 1 interrupt occurred
1: Channel 1 interrupt occurred
Software event generation register (TIMERx_SWEVG)
Address offset: 0x14
Reset value: 0x0000 0000
This register has to be accessed by word(32-bit).
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...