32-bit ARM Cortex™-M3 MCU
HT32F1755/HT32F1765/HT32F2755
Motor Control Timer – MCTM
▀ Single 16-bit up, down, up/down auto-reload counter
▀ 16-bit programmable prescaler allowing dividing the counter clock frequency by any factor
between 1 and 65536
▀ Input Capture function
▀ Compare Match Output
▀ PWM waveform generation with Edge and Centre-aligned Modes
▀ Single Pulse Mode Output
▀ Complementary Outputs with programmable dead-time insertion
▀ Encoder interface controller with two inputs using quadrature decoder
▀ Support 3-phase motor control and hall sensor interface
▀ Brake input to force the timer’s output signals into a reset or fixed condition
The Motor Control Timer consists of a single 16-bit up/down counter, four 16-bit CCRs
(Capture/Compare Registers), single one 16-bit counter-reload register (CRR), single 8-bit
repetition counter and several control/status registers. It can be used for a variety of purposes
including measuring the pulse widths of input signals or generating output waveforms such as
compare match outputs, PWM outputs or complementary PWM outputs with dead-time insertion.
The MCTM supports an Encoder interface controller to an incremental encoder with two inputs.
The MCTM is capable of offering full functional support for motor control, hall sensor interfacing
and brake input.
Basic Function Timer – BFTM
▀ Two 32-bit compare/match count-up counters – no I/O control features
▀ One shot mode – counting stops after a match condition
▀ Repetitive mode – restart counter after a match condition
The Basic Function Timer is a simple count-up 32-bit counter designed to measure time intervals
and generate a one shot or repetitive interrupts. The BFTM operates in two functional modes,
repetitive or one shot mode. In the repetitive mode the BFTM restarts the counter when a compare
match event occurs. The BFTM also supports a one shot mode which forces the counter to stop
counting when a compare match event occurs.
Rev. 1.00
11 of 45
August 13, 2012