HT68F04 Holtek Semiconductor, HT68F04 Datasheet - Page 75

no-image

HT68F04

Manufacturer Part Number
HT68F04
Description
Small Package Enhanced Flash Type 8-Bit MCU
Manufacturer
Holtek Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT68F04
Manufacturer:
ST
Quantity:
14 500
Enhanced Type TM - ETM
The Enhanced Type TM contains five operating modes, which are Compare Match Output, Timer/Event Counter, Cap-
ture Input, Single Pulse Output and PWM Output modes. The Enhanced TM can also be controlled with an external in-
put pin and can drive three or two external output pins.
Enhanced TM Operation
At its core is a 10-bit count-up/count-down counter
which is driven by a user selectable internal or external
clock source. There are three internal comparators with
the names, Comparator A, Comparator B and Com-
parator P. These comparators will compare the value in
the counter with the CCRA, CCRB and CCRP registers.
The CCRP comparator is 3-bits wide whose value is
compared with the highest 3-bits in the counter while
CCRA and CCRB are 10-bits wide and therefore com-
pared with all counter bits.
Rev. 1.00
HT66F03/HT68F03/HT68F04
HT66F04
CTM
10-bit ETM
Enhanced Type TM Block Diagram
Name
¾
HT66F03/HT66F04/HT68F03/HT68F04
75
TM No.
The only way of changing the value of the 10-bit counter
using the application program, is to clear the counter by
changing the TnON bit from low to high. The counter will
also be cleared automatically by a counter overflow or a
compare match with one of its associated comparators.
When these conditions occur, a TM interrupt signal will
also usually be generated. The Enhanced Type TM can
operate in a number of different operational modes, can
be driven by different clock sources including an input
pin and can also control output pins. All operating setup
conditions are selected using relevant internal registers.
¾
2
TM Input Pin
TCK2
¾
TM Output Pin
TP2A, TP2B
April 16, 2010
¾
www.DataSheet4U.com

Related parts for HT68F04