373
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit field
Name
Description
4
CC4ITF
Capture/Compare 4 interrupt flag
See TIMx_STS.CC1ITF description.
3
CC3ITF
Capture/Compare 3 interrupt flag
See TIMx_STS.CC1ITF description.
2
CC2ITF
Capture/Compare 2 interrupt flag
See TIMx_STS.CC1ITF description.
1
CC1ITF
Capture/Compare 1 interrupt flag
When the corresponding channel of CC1 is in output mode:
Except in center-aligned mode, this bit is set by hardware when the counter value is the same as the
compare value (see TIMx_CTRL1.CAMSEL bit description). This bit is cleared by software.
0: No match occurred.
1: The value of TIMx_CNT is the same as the value of TIMx_CCDAT1.
When the value of TIMx_CCDAT1 is greater than the value of TIMx_AR, the TIMx_STS.CC1ITF
bit will go high if the counter overflows (in up-counting and up/down-counting modes) and
underflows in down-counting mode.
When the corresponding channel of CC1 is in input mode:
This bit is set by hardware when the capture event occurs. This bit is cleared by software or by
reading TIMx_CCDAT1.
0: No input capture occurred.
1: Input capture occurred. Counter value has captured in the TIMx_CCDAT1. An edge with the
same polarity as selected has been detected on IC1.
0
UDITF
Update interrupt flag
This bit is set by hardware when an update event occurs under the following conditions:
–
When TIMx_CTRL1.UPDIS = 0, overflow or underflow (An update event is generated).
–
When TIMx_CTRL1.UPRS = 0, TIMx_CTRL1.UPDIS = 0, and set the
TIMx_EVTGEN.UDGN bit by software to reinitialize the CNT.
–
When TIMx_CTRL1.UPRS = 0, TIMx_CTRL1.UPDIS = 0, and the counter CNT is
reinitialized by the trigger event. (See TIMx_SMCTRL Register description)
This bit is cleared by software.
0: No update event occurred
1: Update interrupt occurred
12.4.7
Event generation registers (TIMx_EVTGEN)
Offset address: 0x14
Reset values: 0 x0000
Bit field
Name
Description
15
:
7
Reserved
Reserved, the reset value must be maintained.