32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52243/HT32F52253
14
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.
Counter
Controller
EN
BFTM
APB
32-bit Up Counter
clock
BFTMCNTR
Figure 65. 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.20
OSM
CLR
Comparator
BFTMCMPR
257 of 501
To A/D
Converter
MIF
To NVIC
MIEN
September 19, 2018
Need help?
Do you have a question about the HT32F52243 and is the answer not in the manual?