GD32VF103 User Manual
262
8
Reserved
Must be kept at reset value.
7
BRKIF
Break interrupt flag
This flag is set by hardware when the break input goes active, and cleared by
software if the break input is not active.
0: No active level break has been detected.
1: An active level has been detected.
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
CMTIF
Channel commutation interrupt flag
This flag is set by hardware when channel’s commutation event occurs, and cleared
by software
0: No channel commutation interrupt occurred
1: Channel commutation interrupt occurred
4
CH3IF
Channel 3 ‘s capture/compare interrupt flag
Refer to CH0IF description
3
CH2IF
Channel 2 ‘s capture/compare interrupt flag
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 0 interrupt occurred
1: Channel 0 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