Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
208
/
631
Bit field
Name
Description
9
CC1OCF
Capture/Compare 1 overcapture flag
This bit is set by hardware only when the corresponding channel is configured in input capture
mode. Cleared by software writing 0.
0: No overcapture occurred
1: TIMx_STS.CC1ITF was already set when the value of the counter has been captured in the
TIMx_CCDAT1 register.
8
Reserved
Reserved, the reset value must be maintained
7
BITF
Break interrupt flag
This bit is set by hardware once the brake input is active. This bit is cleared by software when
the brake input becomes inactive.
0: No break event occurred
1: An active level has been detected
6
TITF
Trigger interrupt flag
This bit is set by hardware when an active edge is detected on the TRGI input when the slave
mode controller is in a mode other than gated. This bit is set by hardware when any edge in
gated mode is detected. This bit is cleared by software.
0: No trigger event occurred
1: Trigger interrupt occurred
5
COMITF
COM interrupt flag
This bit is set by hardware once a COM event is generated (when TIMx_CCEN.CCxEN,
TIMx_CCEN.CCxNEN, TIMx_CCMOD1.OCxMD have been updated). This bit is cleared by
software.
0: No COM event occurred
1: COM interrupt pending
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: