GD32VF103 User Manual
304
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
Reserved
Must be kept at reset value.
4
CH3IF
Channel 3 ‘s capture/compare interrupt enable
Refer to CH0IF description
3
CH2IF
Channel 2 ‘s capture/compare interrupt enable
Refer to CH0IF description
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
0
UPIF
Update interrupt flag
This bit is set by hardware on an update event and cleared by software.
0: No update interrupt occurred
1: Update interrupt occurred
Software event generation register (TIMERx_SWEVG)
Address offset: 0x14
Reset value: 0x0000
This register can be accessed by half-word (16-bit) or word (32-bit)