
EM358x
200
Rev. 0.4
TIMx_EGR
TIM1_EGR
Timer 1 Event Generation Register
Address: 0x4000F014 Reset: 0x0
TIM2_EGR
Timer 2 Event Generation Register
Address: 0x40010014 Reset: 0x0
31
30
29
28
27
26
25
24
0
0
0
0
0
0
0
0
23
22
21
20
19
18
17
16
0
0
0
0
0
0
0
0
15
14
13
12
11
10
9
8
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
0
TIM_TG
0
TIM_CC4G
TIM_CC3G
TIM_CC2G
TIM_CC1G
TIM_UG
Bitname
Bitfield
Access Description
TIM_TG
[6]
W
Trigger Generation.
0: Does nothing.
1: Sets the TIM_TIF flag in the INT_TIMxFLAG register.
TIM_CC4G
[4]
W
Capture/Compare 4 Generation.
0: Does nothing.
1: If CC4 configured as output channel:
The TIM_CC4IF flag is set.
If CC4 configured as input channel:
The TIM_CC4IF flag is set.
The INT_TIMMISSCC4IF flag is set if the TIM_CC4IF flag was already
high.
The current value of the counter is captured in TMRx_CCR4 register.
TIM_CC3G
[3]
W
Capture/Compare 3 Generation.
0: Does nothing.
1: If CC3 configured as output channel:
The TIM_CC3IF flag is set.
If CC3 configured as input channel:
The TIM_CC3IF flag is set.
The INT_TIMMISSCC3IF flag is set if the TIM_CC3IF flag was already
high.
The current value of the counter is captured in TMRx_CCR3 register.
TIM_CC2G
[2]
W
Capture/Compare 2 Generation.
0: Does nothing.
1: If CC2 configured as output channel:
The TIM_CC2IF flag is set.
If CC2 configured as input channel:
The TIM_CC2IF flag is set.
The INT_TIMMISSCC2IF flag is set if the TIM_CC2IF flag was already
high.
The current value of the counter is captured in TMRx_CCR2 register.
Содержание EMBER EM358 series
Страница 2: ...EM358x 2 Rev 0 4 ...
Страница 7: ...EM358x Rev 0 4 7 ...