GD32F403xx User Manual
345
16.3.
General level1 timer (TIMERx, x=8, 11)
16.3.1.
Overview
The general level1 timer module (Timer8, 11) is a two-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 level1 time reference is a 16-bit counter that
can be used as an unsigned counter.
In addition, the general level1 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.
16.3.2.
Characteristics
◼
Total channel num: 2.
◼
Counter width: 16 bits.
◼
Source of count clock is selectable: internal clock, internal trigger, external input.
◼
counter mode: count up only.
◼
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 on: update, trigger event, and compare/capture event.
◼
Daisy chaining of timer modules to allow a single timer to initiate multiple t iming events.
◼
Timer synchronization allows selected timers to start counting on the same clock cycle.
◼
Timer master-slave management.