Data Sheet

Wireless-Tag Technology Co., Ltd. V1.0.1
©2020 Wireless-Tag Technology Co., Ltd. All rights reserved.
http://www.wireless-tag.com
11
basic timers (BSTIM1) are completely independent and do not share any clock sources.
The features are described as follows:
16-bit auto-reload up-counter
16-bit programmable Prescaler allows the counter clock frequency to be divided by any
factor between 1 and 65536 (on the fly)
Up to 2 independent channels
Input capture
Output compare
PWM generation (Edge-aligned and Center-aligned modes)
One-pulse mode output
Complementary output programmable dead-time register
Synchronization circuit can control the timer with external signal and interconnect several
timers
The repeat counter is used to update the timing register and only works after the definition
number of the counter period
Pause input to put timer output signal in reset state or known state
Interrupt/DMA generation on the following events:
Update: Counter overflow/underflow, counter initialization (through software or
internal/external trigger)
Trigger event (counter start, stop, initialization or count by internal/external trigger)
Input capture (capture register)
Output compare (count register paired with compare register)
Brake signal input
Trigger input for an external clock or cycle-by-cycle current management
4.12 Basic Timer(BSTIM)
The basic timer consists of a 16-bit auto-reload counter driven by a programmable Prescaler. It may be
used for a variety of purposes, including measuring the pulse lengths of input signals (input capture) or
generating output waveforms (output compare, PWM). Pulse lengths and waveform periods can be
modulated from a few microseconds to several milliseconds by using the timer Prescaler and the APB
clock controller Prescaler.
The advanced-control timers (ADTIM), general-purpose timers (GPTIMA, GPTIMB, GPTIMC) and basic
timers (BSTIM) are completely independent and do not share any clock source.
The features are described as follows:
16-bit auto-reload up-counter