Electronic Components Datasheet Search
  English  ▼

X  

HT46R52 Datasheet(PDF) 6 Page - Holtek Semiconductor Inc

Part # HT46R52
Description  A/D Type 8-Bit OTP MCU
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46R52 Datasheet(HTML) 6 Page - Holtek Semiconductor Inc

Back Button HT46R52 Datasheet HTML 2Page - Holtek Semiconductor Inc HT46R52 Datasheet HTML 3Page - Holtek Semiconductor Inc HT46R52 Datasheet HTML 4Page - Holtek Semiconductor Inc HT46R52 Datasheet HTML 5Page - Holtek Semiconductor Inc HT46R52 Datasheet HTML 6Page - Holtek Semiconductor Inc HT46R52 Datasheet HTML 7Page - Holtek Semiconductor Inc HT46R52 Datasheet HTML 8Page - Holtek Semiconductor Inc HT46R52 Datasheet HTML 9Page - Holtek Semiconductor Inc HT46R52 Datasheet HTML 10Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 42 page
background image
HT46R51/HT46R52
Rev. 1.40
6
July 12, 2005
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.
When a control transfer takes place, an additional
dummy cycle is required.
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.
· Location 00CH
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.
· 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.
1 4 b i t s
P r o g r a m
M e m o r y
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
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
L o o k - u p T a b l e ( 2 5 6 w o r d s )
L o o k - u p T a b l e ( 2 5 6 w o r d s )
N o t e : n = 0 ~ 3
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
n 0 0 H
3 0 0 H
n F F H
0 0 0 H
0 0 4 H
0 0 8 H
0 0 C H
0 1 0 H
0 1 4 H
0 1 8 H
3 F F H
H T 4 6 R 5 1
1 4 b i t s
P r o g r a m
M e m o r y
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
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
L o o k - u p T a b l e ( 2 5 6 w o r d s )
L o o k - u p T a b l e ( 2 5 6 w o r d s )
N o t e : n = 0 ~ 7
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
n 0 0 H
7 0 0 H
n F F H
0 0 0 H
0 0 4 H
0 0 8 H
0 0 C H
0 1 0 H
0 1 4 H
0 1 8 H
7 F F H
H T 4 6 R 5 2
Program Memory



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com