32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
15
Basic Function Timer (BFTM)
Introduction
The Basic Function Timer Module, BFTM, is a 32-bit up-counting counter designed to measure
time intervals, generate one shot pulses or generate repetitive interrupts. The BFTM can operate
in two modes which are repetitive and one shot modes. The repetitive mode restarts the counter at
each compare match event which is generated by the internal comparator. The BFTM also supports
a one shot mode which will force the counter to stop counting when a compare match event occurs.
BFTM APB
clock
Figure 89. BFTM Block Diagram
Features
▄
32-bit up-counting counter
▄
Compare Match function
▄
Includes debug mode
▄
Clock source: BFTM APB clock
▄
Counter value can be R/W on the fly
▄
One shot mode: counter stops counting when compare match occurs
▄
Repetitive mode: counter restarts when compare match occurs
▄
Compare Match interrupt enable / disable control
Rev. 1.00
Counter
Controller
EN
CLR
32-bit Up-Counter
BFTMCNTR
292 of 486
OSM
MIF
Comparator
MIEN
BFTMCMPR
To NVIC
July 31, 2018
Need help?
Do you have a question about the HT32F50231 and is the answer not in the manual?