315
/
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
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, and repeat counter value overflow or underflow (An
update event is generated when the repeat counter equals 0).
–
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
11.4.7
Event generation registers (TIMx_EVTGEN)
Offset address: 0x14
Reset values: 0x0000
Bit field
Name
Description
15
:
8
Reserved
Reserved, the reset value must be maintained
7
BGN
Break generation
This bit can generate a brake event when set by software. And at this time TIMx_BKDT.MOEN =
0, TIMx_STS.BITF = 1, if the corresponding interrupt and DMA are enabled, the corresponding
interrupt and DMA will be generated. This bit is automatically cleared by hardware.
0: No action
1: Generated a break event
6
TGN
Trigger generation
This bit can generate a trigger event when set by software. And at this time TIMx_STS.TITF = 1, if
the corresponding interrupt and DMA are enabled, the corresponding interrupt and DMA will be
generated. This bit is automatically cleared by hardware.
0: No action
1: Generated a trigger event
5
CCUDGN
Capture/Compare control update generation
This bit is set by software. And if TIMx_CTRL2.CCPCTL = 1 at this time, the CCxEN, CCxNEN
and OCxMD bits are allowed to be updated. This bit is automatically cleared by hardware.
0: No action
1: Generated a COM event