09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Advanced-control timers (TIM1&TIM8) <strong>RM0090</strong><br />

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

CK_PSC<br />

CNT_EN<br />

Timer clock = CK_CNT<br />

Counter register<br />

Counter overflow<br />

Update event (UEV)<br />

Update interrupt flag (UIF)<br />

Figure 77. Counter timing diagram, internal clock divided by N<br />

CK_PSC<br />

Timer clock = CK_CNT<br />

Figure 78. Counter timing diagram, update event when ARPE=0 (TIMx_ARR not<br />

preloaded)<br />

355/1416 Doc ID 018909 Rev 3<br />

0035 0036<br />

Counter register 1F 20<br />

00<br />

Counter overflow<br />

Update event (UEV)<br />

Update interrupt flag (UIF)<br />

CK_PSC<br />

CEN<br />

Timer clock = CK_CNT<br />

Counter register<br />

Counter overflow<br />

Update event (UEV)<br />

Update interrupt flag (UIF)<br />

31<br />

0000 0001<br />

32 33 34 35 36 00 01 02 03 04 05 06 07<br />

Auto-reload register FF 36<br />

Write a new value in TIMx_ARR

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

Saved successfully!

Ooh no, something went wrong!