![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 221](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630221.webp)
www.geehy.com Page 220
Field
Name
R/W
Description
0
UIFLG
RC_W0
Update Event Interrupt Generate Flag
0: Update event interrupt does not occur
1: Update event interrupt occurs
When the counter value is reloaded or reinitialized, an update
event will be generated. The bit is set to 1 by hardware and
cleared 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) URSEL=0 and UD=0 on TMRx_CTRL1 register, configure
UG = 1 on TMRx_CEG register to generate update event, and
the counter needs to be initialized by software;
(3) URSEL=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 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 new 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