GD32F20x User Manual
327
18.1.
Advanced timer (TIMERx, x=0, 7)
18.1.1.
Overview
The advanced timer module (Timer0 & Timer7) is a four-channel timer that supports both
input capture and output compare. They can generate PWM signals to control motor or be
used for power management applications. The advanced timer has a 16-bit counter that can
be used as an unsigned counter.
In addition, the advanced timers can be programmed and be used for counting, their external
events can be used to drive other timers.
Timer also includes a dead-time Insertion module which issuitable for motor control
applications.
Timer and timer are completely independent with each other, but they may be synchronized
to provide a larger timer with their counters incrementing in unison.
18.1.2.
Characteristics
Total channel num: 4.
Counter width: 16 bit.
Source of counter 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.The factor can be changed on the go.
Each channel is user-configurable:
input capture mode, output compare mode, programmable PWM mode, single pulse
mode
Programmable dead time insertion.
Auto reload function.
Programmable counter repetition function.
Break input.
Interrupt output or DMA request on: update, trigger event, compare/capture event, and
break input.
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...