Standard Type Tm - Stm; Standa�D Tm �Pe�Ation - Holtek TinyPower HT69F40A Manual

Tinypower i/o flash 8-bit mcu with lcd & eeprom
Table of Contents

Advertisement

HT69F30A/HT69F40A/HT69F50A
TinyPower
I/O Flash 8-Bit MCU with LCD & EEPROM
TM
Standard Type TM – STM
The Standard Type TM contains five operating modes, which are Compare Match Output,
Timer/Event Counter, Capture Input, Single Pulse Output and PWM Output modes. The Standard
TM can also be controlled with an external input pin and can drive one or two external output pins.
Device
HT69F30A
HT69F40A
HT69F�0A
Standard TM Operation
There are two sizes of Standard TMs, one is 10-bits wide and the other is 16-bits wide. At the core is
a 10 or 16-bit count-up counter which is driven by a user selectable internal or external clock source.
There are also two internal comparators with the names, Comparator A and Comparator P. These
comparators will compare the value in the counter with CCRP and CCRA registers. The CCRP
comparator is 3 or 8-bits wide whose value is compared the with highest 3 or 8 bits in the counter
while the CCRA is the ten or sixteen bits and therefore compares all counter bits.
The only way of changing the value of the 10 or 16-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 Standard
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 an output pin. All operating setup conditions are
selected using relevant internal registers.
f
/ 4
0 0 0
S Y S
f
0 0 1
S Y S
f
/ 1 6
0 1 0
H
f
/ 6 4
0 1 1
H
f
1 0 0
S U B
R e s e r v e d
1 0 1
1 1 0
T n O N
T C K n
1 1 1
T n P A U
T n C K 2 ~ T n C K 0
Rev. 1.20
TM Type
TM Name.
10-�it STM
10-�it STM
16-�it STM
C C R P
C o m p a r a t o r P M a t c h
3 o r 8 - b i t C o m p a r a t o r P
b 7 ~ b 9 o r b 8 ~ b 1 5
C o u n t e r C l e a r
1 0 o r 1 6 - b i t C o u n t - u p C o u n t e r
T n C C L R
b 0 ~ b 9 o r
b 0 ~ b 1 5
C o m p a r a t o r A
1 0 o r 1 6 - b i t
C o m p a r a t o r A
C C R A
Standard Type TM Block Diagram (n=1 or 2)
113
TM Input Pin
TM1
TCK1
TM2
TCK2
TM2
TCK2
T n P F I n t e r r u p t
T n O C
O u t p u t
P o l a r i t y
0
C o n t r o l
C o n t r o l
1
T n M 1 , T n M 0
T n P O L
T n I O 1 , T n I O 0
M a t c h
T n A F I n t e r r u p t
T n I O 1 , T n I O 0
E d g e
D e t e c t o r
TM Output Pin
TP1_0� TP1_1
TP2_0� TP2_1
TP2_0� TP2_1
T P n _ 0
T P n P i n
I n p u t / O u t p u t
T P n _ 1
��to�e� 0�� 201�

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TinyPower HT69F40A and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Tinypower ht69f50aTinypower ht69f30a

Table of Contents