01.06.2014 Views

STM32W108C8

STM32W108C8

STM32W108C8

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

General-purpose timers<br />

<strong>STM32W108C8</strong><br />

When an update event occurs, the update flag (the INT_TIMUIF bit in the INT_TIMxFLAG<br />

register) is set (unless TIM_USR is 1) and the following registers are updated:<br />

● The buffer of the prescaler is reloaded with the buffer value (contents of the TIMx_PSC<br />

register).<br />

● The auto-reload shadow register is updated with the buffer value (TIMx_ARR).<br />

Figure 15, Figure 16, Figure 17, and Figure 18 show some examples of the counter<br />

behavior for different clock frequencies when TIMx_ARR = 0x36.<br />

Figure 15. Counter timing diagram, internal clock divided by 1<br />

Figure 16. Counter timing diagram, internal clock divided by 4<br />

113/215 Doc ID 018587 Rev 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!