![Geehy SEMICONDUCTOR APM32F030x4x6x8xC User Manual Download Page 152](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f030x4x6x8xc/apm32f030x4x6x8xc_user-manual_573629152.webp)
www.geehy.com Page 151
Field
Name
R/W
Description
by software; update events are generated in the following
situations:
(1) UD=0 on TMRx_CTRL1 register, and when the value of the
repeat counter overruns/underruns, an update event will be
generated;
(2) URSSEL=0 and UD=0 on TMRx_CTRL1 register, configure
UEG=1 on TMRx_CEG register to generate update event,
and the counter needs to be initialized by software;
(3) URSSEL=0 and UD=0 on TMRx_CTRL1 register, generate
update event when the counter is initialized by trigger event.
1
CC1IFLG
RC_W0
Capture/Compare Channel1 Interrupt Flag
When the capture/compare channel 1 is configured as output:
0: No matching occurred
1: The value of TMRx_CNT matches the value of TMRx_CC1
When the capture/compare channel 1 is configured as input:
0: Input capture did not occur
1: Input capture occurred
When a capture event occurs, the bit is set to 1 by hardware, and it
can be cleared by software or cleared when reading TMRx_CC1
register.
2
CC2IFLG
RC_W0
Capture/Compare Channel2 i Interrupt Flag
Refer to STS_CC1IFLG
3
CC3IFLG
RC_W0
Capture/Compare Channel3 Interrupt Flag
Refer to STS_CC1IFLG
4
CC4IFLG
RC_W0
Captuer/Compare Channel4 Interrupt Flag
Refer to STS_CC1IFLG
5
Reserved
6
TRGIFLG
RC_W0
Trigger Event Interrupt Generate Flag
0: Trigger event interrupt did not occur
1: Trigger event interrupt occurred
After Trigger event is generated, this bit is set to 1 by hardware and
cleared by software.
8:7
Reserved
9
CC1RCFLG
RC_W0
Capture/compare Channel1 Repetition Capture Flag
0: Repeat capture does not occur
1: Repeat capture occurs
The value of the counter is captured to TMRx_CC1 register, and
CC1IFLG=1; this bit is set to 1 by hardware and cleared by
software only when the channel is configured as input capture.
10
CC2RCFLG
RC_W0
Capture/compare Channel2 Repetition Capture Flag
Refer to STS_CC1RCFLG
11
CC3RCFLG
RC_W0
Capture/compare Channel3 Repetition Capture Flag
Refer to STS_CC1RCFLG
12
CC4RCFLG
RC_W0
Capture/compare Channel4 r Repetition Capture Flag
Refer to STS_CC1RCFLG
15:13
Reserved