
EM358x
Rev. 0.4
173
Figure 10-11. Counter Timing Diagram, Update Event with TIM_ARBE = 1 (counter overflow)
10.3.3 Clock Selection
The counter clock can be provided by the following clock sources:
Internal clock (PCLK)
External clock mode 1: external input pin (TIy)
External clock mode 2: external trigger input (ETR)
Internal trigger input (ITR0): using the other timer as prescaler. Refer to the section Using One Timer as
Prescaler for the Other Timer for more details.
10.3.3.1 Internal Clock Source (CK_INT)
The internal clock is selected when the slave mode controller is disabled (TIM_SMS = 000 in the TIMx_SMCR
register). In this mode, the TIM_CEN, TIM_DIR (in the TIMx_CR1 register), and TIM_UG bits (in the TIMx_EGR
register) are actual control bits and can be changed only by software, except for TIM_UG, which remains cleared
automatically. As soon as the TIM_CEN bit is written to 1, the prescaler is clocked by the internal clock CK_INT.
Figure 10-12 shows the behavior of the control circuit and the up-counter in normal mode, without prescaling.
Figure 10-12. Control Circuit in Normal Mode, Internal Clock Divided by 1
Содержание EMBER EM358 series
Страница 2: ...EM358x 2 Rev 0 4 ...
Страница 7: ...EM358x Rev 0 4 7 ...