Rev. 2.10
96
���� 02� 201�
Rev. 2.10
97
���� 02� 201�
HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
HT68FU30/HT68FU40/HT68FU50/HT68FU60
Enhanced I/O Flash Type 8-Bit MCU with EEPROM
HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
HT68FU30/HT68FU40/HT68FU50/HT68FU60
Enhanced I/O Flash Type 8-Bit MCU with EEPROM
Timer Modules – TM
One of the most fundamental functions in any microcontroller device is the ability to control and
measure time. To implement time related functions each device includes several Timer Modules,
abbreviated to the name TM. The TMs are multi-purpose timing units and serve to provide
operations such as Timer/Counter, Input Capture, Compare Match Output and Single Pulse Output
as well as being the functional unit for the generation of PWM signals. Each of the TMs has either
two or three individual interrupts. The addition of input and output pins for each TM ensures
that users are provided with timing units with a wide and flexible range of features. The common
features of the different TM types are described here with more detailed information provided in the
individual Compact, Standard and Enhanced TM sections.
Introduction
The devices contain from two to four TMs depending upon which device is selected with each TM
having a reference name of TM0, TM1, TM2 and TM3. Each individual TM can be categorised
as a certain type, namely Compact Type TM, Standard Type TM or Enhanced Type TM. Although
similar in nature, the different TM types vary in their feature complexity. The common features
to all of the Compact, Standard and Enhanced TMs will be described in this section, the detailed
operation regarding each of the TM types will be described in separate sections. The main features
and differences between the three types of TMs are summarised in the accompanying table.
Function
CTM
STM
ETM
Timer/Co�nter
√
√
√
I/P Capt�re
—
√
√
Compare Match O�tp�t
√
√
√
PWM Channe�s
1
1
2
Sing�e P��se O�tp�t
—
1
1
PWM A�ignment
Edge
Edge
Edge & Centre
PWM Adj�stment Period & D�t�
D�t� or Period
D�t� or Period
D�t� or Period
TM Function Summary
Each device in the series contains a specific number of either Compact Type, Standard Type and
Enhanced Type TM units which are shown in the table together with their individual reference name,
TM0~TM3.
Device
TM0
TM1
TM2
TM3
HT68F20
10-bit CTM
10-bit STM
—
—
HT68F30
10-bit CTM
10-bit ETM
—
—
HT68F�0
10-bit CTM
10-bit ETM
16-bit STM
—
HT68F50
10-bit CTM
10-bit ETM
16-bit STM
10-bit CTM
HT68F60
10-bit CTM
10-bit ETM
16-bit STM
10-bit CTM
TM Name/Type Reference