
EM358x
Rev. 0.4
201
Bitname
Bitfield
Access Description
TIM_CC1G
[1]
W
Capture/Compare 1 Generation.
0: Does nothing.
1: If CC1 configured as output channel:
The TIM_CC1IF flag is set.
If CC1 configured as input channel:
The TIM_CC1IF flag is set.
The INT_TIMMISSCC1IF flag is set if the TIM_CC1IF flag was already
high.
The current value of the counter is captured in TMRx_CCR1 register.
TIM_UG
[0]
W
Update Generation.
0: Does nothing.
1: Re-initializes the counter and generates an update of the registers. This
also clears the prescaler counter but the prescaler ratio is not affected.
The counter is cleared if center-aligned mode is selected or if TIM_DIR=0
(up-counting), otherwise it takes the auto-reload value (TMR1_ARR) if
TIM_DIR=1 (down-counting).
Summary of Contents for EMBER EM358 series
Page 2: ...EM358x 2 Rev 0 4 ...
Page 7: ...EM358x Rev 0 4 7 ...