GD32F403xx User Manual
389
16.5.
Basic timer (TIMERx, x=5, 6)
16.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.
16.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.
◼
Auto-reload function.
◼
Interrupt output or DMA request on update event.
16.5.3.
Block diagram
Figure 16-65. Basic timer block diagram
provides details on the internal conf iguration of
the basic timer.
Figure 16-65. 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
DMA controller
DMA REQ/ACK
TIMERx_UP
16.5.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
counter prescaler. When the CEN is set, the CK_TIMER will be divided by PSC value to
generate PSC_CLK.
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...