English
Language : 

RM0365 Datasheet, PDF (694/1076 Pages) STMicroelectronics – This reference manual targets application developers
RM0365
23 Basic timers (TIM6)
Basic timers (TIM6)
23.1
TIM6 introduction
The basic timer TIM6 consists of a 16-bit auto-reload counter driven by a programmable
prescaler.
They may be used as generic timers for time-base generation but they are also specifically
used to drive the digital-to-analog converter (DAC). In fact, the timers are internally
connected to the DAC and are able to drive it through their trigger outputs.
The timers are completely independent, and do not share any resources.
23.2
TIM6 main features
Basic timer (TIM6) features include:
• 16-bit auto-reload upcounter
• 16-bit programmable prescaler used to divide (also “on the fly”) the counter clock
frequency by any factor between 1 and 65535
• Synchronization circuit to trigger the DAC
• Interrupt/DMA generation on the update event: counter overflow
Figure 268. Basic timer block diagram
7,0[&/.IURP5&&
,QWHUQDOFORFN &.B,17
7ULJJHU
FRQWUROOHU
75*2
WR'$&
&RQWURO
5HVHWHQDEOH&RXQW
&.B36&
8
$XWRUHORDGUHJLVWHU
36& &.B&17
SUHVFDOHU
6WRSFOHDURUXS

&17FRXQWHU
8,
8
1RWHV
5HJ
3UHORDGUHJLVWHUVWUDQVIHUUHG
WRDFWLYHUHJLVWHUVRQ8HYHQW
DFFRUGLQJWRFRQWUROELW
(YHQW
,QWHUUXSW '0$RXWSXW
069
DocID025202 Rev 4
694/1077
706