欢迎访问ic37.com |
会员登录 免费注册
发布采购

HT46C64(52QFP-A) 参数 Datasheet PDF下载

HT46C64(52QFP-A)图片预览
型号: HT46C64(52QFP-A)
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller, 8-Bit, MROM, 8MHz, CMOS, PQFP52]
分类和应用: 微控制器
文件页数/大小: 48 页 / 409 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT46C64(52QFP-A)的Datasheet PDF文件第13页浏览型号HT46C64(52QFP-A)的Datasheet PDF文件第14页浏览型号HT46C64(52QFP-A)的Datasheet PDF文件第15页浏览型号HT46C64(52QFP-A)的Datasheet PDF文件第16页浏览型号HT46C64(52QFP-A)的Datasheet PDF文件第18页浏览型号HT46C64(52QFP-A)的Datasheet PDF文件第19页浏览型号HT46C64(52QFP-A)的Datasheet PDF文件第20页浏览型号HT46C64(52QFP-A)的Datasheet PDF文件第21页  
HT46R64/HT46C64  
Timer/Event Counter  
internal lower-order byte buffer (8-bit) and writing  
TMR1H will transfer the specified data and the contents  
of the lower-order byte buffer to TMR1H and TMR1L  
registers, respectively.  
Two timer/event counters (TMR0,TMR1) are imple-  
mented in the microcontroller. The Timer/Event Counter  
0 contains a 8-bit programmable count-up counter and  
the clock may come from an external source or an inter-  
nal clock source. An internal clock source comes from  
fSYS. The Timer/Event Counter 1 contains a 16-bit pro-  
grammable count-up counter and the clock may come  
from an external source or an internal clock source. An  
internal clock source comes from fSYS/4 or 32768Hz se-  
lected by option. The external clock input allows the  
user to count external events, measure time intervals or  
pulse widths, or to generate an accurate time base.  
The Timer/Event Counter 1 preload register is changed  
everytime there is a writing operation to TRM1H. Read-  
ing TMR1H will latch the contents of TMR1H and  
TMR1L counters to the destination and the lower-order  
byte buffer, respectively. Reading the TMR1L will read  
the contents of the lower-order byte buffer. The TMR1C  
is the Timer/Event Counter 1 control register, which de-  
fines the operating mode, counting enable or disable  
and an active edge.  
There are two registers related to the Timer/Event  
Counter 0; TMR0 ([0DH]) and TMR0C ([0EH]). Two  
physical registers are mapped to TMR0 location; writing  
TMR0 puts the starting value in the Timer/Event Coun-  
ter 0 register and reading TMR0 takes the contents of  
the Timer/Event Counter 0. The TMR0C is a timer/event  
counter control register, which defines some options.  
There are three registers related to the Timer/Event  
Counter 1; TMR1H (0FH), TMR1L (10H) and TMR1C  
(11H). Writing TMR1L will only put the written data to an  
The T0M0, T0M1 (TMR0C) and T1M0, T1M1 (TMR1C)  
bits define the operation mode. The event count mode is  
used to count external events, which means that the  
clock source is from an external (TMR0, TMR1) pin. The  
timer mode functions as a normal timer with the clock  
source coming from the internal selected clock source.  
Finally, the pulse width measurement mode can be used  
to count the high or low level duration of the external sig-  
nal (TMR0, TMR1), and the counting is based on the in-  
ternal selected clock source.  
P
W
M
(
6
+
2
)
o
r
(
7
+
1
)
T
o
P
D
0
/
P
D
1
/
P
D
2
/
P
D
3
C
i
r
c
u
i
t
C
o
m
p
a
r
e
f
S Y S  
8
-
s
t
a
g
e
P
r
e
s
c
a
l
e
r
f
I
N
T
D
R
a
e
t
l
a
B
u
s
8
-
1
M
U
X
T
0
M
1
o
a
d
T
0
M
0
8
-
b
i
t
T
i
m
e
r
/
E
v
e
n
t
C
o
u
n
t
e
r
T
0
P
S
C
2
~
T
0
P
S
C
0
P
r
e
l
o
a
d
R
e
g
i
s
t
e
r
T
M
R
0
T
0
E
P
u
l
s
e
W
i
d
t
h
8
-
b
i
t
T
i
m
e
r
/
E
v
e
n
t
C
o
u
n
t
e
r
O
v
e
r
f
l
o
w
t
o
I
n
t
e
r
r
u
p
t
T
0
M
1
M
e
a
s
u
r
e
m
e
n
t
(
T
M
R
0
)
T
0
M
0
M
o
d
e
C
o
n
t
r
o
l
T
0
O
N
P
F
D
0
Timer/Event Counter 0  
D
a
t
a
B
u
s
L
o
w
B
y
t
e
M
S
Y
S
f
I
N
T
B
u
f
f
e
r
U
3
2
7
6
8
H
z
X
T
1
M
1
T
1
M
0
T
1
S
T
M
R
1
1
6
-
B
i
t
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