GD32A50x User Manual
372
Bits
Fields
Descriptions
31
CH3COMADDIF
Channel 3 additional compare interrupt flag.
Refer to CH0COMADDIF description.
30
CH2COMADDIF
Channel 2 additional compare interrupt flag.
Refer to CH0COMADDIF description.
29
CH1COMADDIF
Channel 1 additional compare interrupt flag.
Refer to CH0COMADDIF description.
28
CH0COMADDIF
Channel 0 additional compare interrupt flag.
This flag is set by hardware and cleared by software.
If channel 0 is in output mode, this flag is set when a compare event occurs.
0: No channel 0 output compare interrupt occurred
1: Channel 0 output compare interrupt occurred
Note:
This flag just used in composite PWM mode (when CH0CPWMEN=1,
CH0MS[2:0] = 3’b000 and CH0COMCTL=3’b110 or 3’b111).
27
MCH3OF
Multi mode channel 3 over capture flag
Refer to MCH0OF description.
26
MCH2OF
Multi mode channel 2 over capture flag
Refer to MCH0OF description.
25
MCH1OF
Multi mode channel 1 over capture flag
Refer to MCH0OF description.
24
MCH0OF
Multi mode channel 0 over capture flag
When multi mode channel 0 is configured in input mode, this flag is set by hardware
when a capture event occurs while MCH0IF flag has already been set. This flag is
cleared by software.
0: No over capture interrupt occurred
1: Over capture interrupt occurred
23
MCH3IF
Multi mode channel 3 capture/compare interrupt flag
Refer to MCH0IF description
22
MCH2IF
Multi mode channel 2 capture/compare interrupt flag
Refer to MCH0IF description
21
MCH1IF
Multi mode channel 1 capture/compare interrupt flag
Refer to MCH0IF description
20
MCH0IF
Multi mode channel 0 capture/compare interrupt flag
This flag is set by hardware and cleared by software.
If multi mode channel 0 is in input mode, this flag is set when a capture event occurs.
If multi mode channel 0 is in output mode, this flag is set when a compare event
occurs.
If multi mode channel 0 is set to input mode, this bit will be reset by reading