![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 259](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630259.webp)
www.geehy.com Page 258
Basic timer (TMR6/7)
Introduction
The basic timers TMR6 and TMR7 have an unsigned 16-bit counter, auto reload
register, prescaler and trigger controller.
The basic timer provides time reference for general-purpose timer and provides
clock for DAC. DMA request can be generated by configuration.
Main characteristics
Counter: 16-bit counter, which can only count up
Prescaler: 16-bit programmable prescaler
Clock source: There is only internal clock
Single-pulse mode
Provide clock for DAC
Structure block diagram
Figure 63 Basic Timer Structure Block Diagram
Counter CNT
Auto reload
register
PSC
Prescaler
Trigger
processing
Controller
TRGO
CK_PSC
CK_CNT
Internal
clock
CK_INT
Functional description
Clock source selection
The basic timer is driven by internal clock source TMRx_CLK
Configure the CNTEN bit of TMRx_CTRL1 register to enable the counter; when
CNTEN bit is set, the internal clock CK_INT can generate CK_INT to drive the
counter through the controller and prescaler.