GD32VF103 User Manual
318
15.3.
Basic timer (TIMERx, x=5, 6)
15.3.1.
Overview
The basic timer module (Timer5, 6) reference is a 16-bit counter that can be used as an
unsigned counter. The basic timer can be configured to generate DMA request and TRGO to
DAC.
15.3.2.
Characteristics
Counter width: 16-bit.
Source of count clock is internal clock only.
Multiple counter modes: count up.
Programmable prescaler: 16-bit. The factor can be changed ongoing.
Single pulse mode is supported.
Auto-reload function.
Interrupt output or DMA request on update event.
15.3.3.
Block diagram
Figure 15-52. Basic timer block diagram
provides details on the internal configuration of
the basic timer.
Figure 15-52. Basic timer block diagram
PSC
Trigger processor
Trigger Selector&Counter
Counter
Register /Interrupt
Register set and update
Interrupt collector
APB BUS
CK_TIMER
CAR
TIMERx_TRGO
Interrupt
Update
UPIE
TIMER_CK
PSC_CLK
15.3.4.
Function overview
Clock selection
The basic TIMER can only being clocked by the internal timer clock CK_TIMER, which is from
the source named CK_TIMER in RCU