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

HT46R51 参数 Datasheet PDF下载

HT46R51图片预览
型号: HT46R51
PDF下载: 下载PDF文件 查看货源
内容描述: A / D型8位OTP MCU [A/D Type 8-Bit OTP MCU]
分类和应用:
文件页数/大小: 42 页 / 293 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT46R51的Datasheet PDF文件第2页浏览型号HT46R51的Datasheet PDF文件第3页浏览型号HT46R51的Datasheet PDF文件第4页浏览型号HT46R51的Datasheet PDF文件第5页浏览型号HT46R51的Datasheet PDF文件第7页浏览型号HT46R51的Datasheet PDF文件第8页浏览型号HT46R51的Datasheet PDF文件第9页浏览型号HT46R51的Datasheet PDF文件第10页  
HT46R51/HT46R52  
·
·
Location 00CH  
The lower byte of the PC (PCL) is a readable and  
writeable register (06H). Moving data into the PCL per-  
forms a short jump. The destination is within 256 loca-  
tions.  
Location 00CH is reserved for the A/D converter inter-  
rupt service program. If an A/D converter interrupt re-  
sults from an end of A/D conversion, and if the  
interrupt is enabled and the stack is not full, the pro-  
gram begins execution at location 00CH.  
When a control transfer takes place, an additional  
dummy cycle is required.  
Table location  
Any location in the program memory can be used as  
look-up tables. The instructions ²TABRDC [m]² (the  
current page) and ²TABRDL [m]² (the last page) trans-  
fer the contents of the lower-order byte to the speci-  
fied data memory, and the higher-order byte to TBLH  
(08H). The lower-order byte table pointer TBLP (07H)  
are read/write registers, which indicate the table loca-  
tions. Before accessing the table, the location has to  
be placed in TBLP. The TBLH is read only and cannot  
be restored. If the main routine and the ISR (interrupt  
service routine) both employ the table read instruc-  
tion, the contents of the TBLH in the main routine are  
likely to be changed by the table read instruction used  
in the ISR. Errors can occur. Given this, using the ta-  
ble read instruction in the main routine and the ISR si-  
multaneously should be avoided. However, if the table  
read instruction has to be applied in both main routine  
and the ISR, the interrupt should be disabled prior to  
the table read instruction. It will not be enabled until  
the TBLH in the main routine has been backed-up. All  
table related instructions require 2 cycles to complete  
the operation.  
Program Memory - EPROM  
The program memory is used to store the program in-  
structions which are to be executed. It also contains  
data, table, and interrupt entries, and is organized into  
1024´14 (HT46R51) or 2048´14 (HT46R52) bits, ad-  
dressed by the Program Counter and table pointer.  
Certain locations in the ROM are reserved for special  
usage:  
·
Location 000H  
This location is reserved for program initialization. Af-  
ter a chip reset, the program always begins execution  
at location 000H.  
·
Location 004H  
This location is reserved for the external interrupt ser-  
vice program. If the INT input pin is activated, the in-  
terrupt is enabled and the stack is not full, the program  
begins execution at this location.  
·
Location 008H  
This location is reserved for the timer/event counter  
interrupt service program. If a timer interrupt results  
from a timer/event counter overflow, and the interrupt  
is enabled and the stack is not full, the program begins  
execution at location 008H.  
0
0
0
0
0
0
0
4
8
H
H
H
0
0
0
0
0
0
0
4
8
H
H
H
D
e
v
i
c
e
I
n
i
t
i
a
l
i
z
a
t
i
o
n
P
r
o
g
r
a
m
D
e
v
i
c
e
I
n
i
t
i
a
l
i
z
a
t
i
o
n
P
r
o
g
r
a
m
E
x
t
e
r
n
a
l
I
n
t
e
r
r
u
p
t
S
u
b
r
o
u
t
i
n
e
E
x
t
e
r
n
a
l
I
n
t
e
r
r
u
p
t
S
u
b
r
o
u
t
i
n
e
T
i
m
e
r
/
E
v
e
n
t
C
o
u
n
t
e
r
I
n
t
e
r
r
u
p
t
S
u
b
r
o
u
t
i
n
e
T
i
m
e
r
/
E
v
e
n
t
C
o
u
n
t
e
r
I
n
t
e
r
r
u
p
t
S
u
b
r
o
u
t
i
n
e
0
0
C
H
0
0
C
H
A
/
D
C
o
n
v
e
r
t
e
r
I
n
t
e
r
r
u
p
t
S
u
b
r
o
u
t
i
n
e
A
/
D
C
o
n
v
e
r
t
e
r
I
n
t
e
r
r
u
p
t
S
u
b
r
o
u
t
i
n
e
0
0
1
1
0
4
H
H
0
0
1
1
0
4
H
H
P
r
o
g
r
a
m
P
r
o
g
r
a
m
M
e
m
o
r
y
M
e
m
o
r
y
0
1
8
H
0
1
8
H
n
0
0
H
n
0
0
H
L
o
o
k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