GD32W51x User Manual
505
17.2.
General level0 timer (TIMERx, x=1, 2, 3, 4)
17.2.1.
Overview
The general level0 timer module (Timer1, 2, 3, 4) is a four-channel timer that supports input
capture, output compare. They can generate PWM signals to control motor or be used for
power management applications. The general level0 time reference is a 16-bit(TIMER3/4)
counter or 32-bit(TIMER1/2) that can be used as an unsigned counter.
In addition, the general level0 timers can be programmed and be used to count or time
external events that drive other timers.
Timer and timer are completely independent, but there may be synchronized to provide a
larger timer with their counters incrementing in unison.
17.2.2.
Characteristics
Total channel num: 4.
Counter width: 16bit(TIMER3/4),32bit(TIMER1/2).
Source of count clock is selectable:
internal clock, internal trigger, external input, external trigger.
Multiple counter modes: count up, count down, count up/down.
Quadrature decoder: used to track motion and determine both rotation direction and
position.
Hall sensor: for 3-phase motor control.
Programmable prescaler: 16 bit. Factor can be changed on the go.
Each channel is user-configurable:
Input capture mode, output compare mode, programmable PWM mode, single pulse
mode
Auto-reload function.
Interrupt output or DMA request on: update, trigger event, and compare/capture event.
Daisy chaining of timer modules to allow a single timer to initiate multiple timing events.
Timer synchronization allows selected timers to start counting on the same clock cycle.
Timer Master/Slave mode controller.
17.2.3.
Block diagram
Figure 17-34. General Level 0 timer block diagram
provides details on the internal configuration
of the general level0 timer.
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...