Basic Timer (Tim6); Tim6 Introduction; Tim6 Main Features; Figure 181. Basic Timer Block Diagram - STMicroelectronics STM32F05 series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Basic timer (TIM6)

19
Basic timer (TIM6)
19.1

TIM6 introduction

The basic timer TIM6 consists of a 16-bit auto-reload counter driven by a programmable
prescaler.
It may be used as a generic timer for time-base generation but it is also specifically used to
drive the digital-to-analog converter (DAC). In fact, TIM6 is internally connected to the DAC
and is able to drive it through its trigger outputs.
19.2

TIM6 main features

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 181. Basic timer block diagram

Flag
440/742
TIMxCLK from RCC
CK_PSC
PSC
Prescaler
Preload registers transferred
to active registers on U event according to control bit
event
interrupt & DMA output
Doc ID 018940 Rev 1
Internal clock (CK_INT)
controller
Controller
U
Auto-reload Register
Stop, Clear or up
CK_CNT
CNT
±
COUNTER
TRGO
Trigger
to DAC
Reset, Enable, Count,
UI
U
RM0091
ai14749b

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F05 series and is the answer not in the manual?

Questions and answers

Table of Contents