GD32F20x User Manual
478
18.5.
Basic timer (TIMERx, x=5, 6)
18.5.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.
18.5.2.
Characteristics
Counter width: 16bit.
Source of count clock is internal clock only.
Multiple counter modes: count up.
Programmable prescaler: 16 bit. Factor can be changed on the go.
Single pulse mode is supported.
Auto-reload function.
Interrupt output or DMA request on update event.
18.5.3.
Block diagram
Figure 18-76. Basic timer block diagram
provides details on the internal configuration of
the basic timer.
Figure 18-76. 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
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...