![GigaDevice Semiconductor GD32E23 Series Скачать руководство пользователя страница 417](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794417.webp)
GD32E23x User Manual
417
14.6.
Basic timer (TIMERx, x=5)
14.6.1.
Overview
The basic timer module (TIMER5) reference is a 16-bit counter that can be used as an
unsigned counter. The basic timer can be configured to generate DMA request.
14.6.2.
Characteristics
Counter width: 16 bits.
Source of count clock is internal clock only.
Counter modes: only count up.
Programmable prescaler: 16 bits. Factor can be changed ongoing.
Auto-reload function.
Interrupt output or DMA request on update event.
14.6.3.
Block diagram
Figure 14-83. Basic timer block diagram
provides details on the internal configuration of
the basic timer.
Figure 14-83. 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
14.6.4.
Function overview
Clock source configuration
The basic TIMER can only be clocked by the internal timer clock CK_TIMER, which is from
the source named CK_TIMER in RCU
The TIMER_CK, driven counter’s prescaler to count, is equal to CK_TIMER used to drive the