전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

HT46C46 데이터시트(PDF) 7 Page - Holtek Semiconductor Inc

부품명 HT46C46
상세설명  Cost-Effective A/D Type 8-Bit MCU
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  HOLTEK [Holtek Semiconductor Inc]
홈페이지  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46C46 데이터시트(HTML) 7 Page - Holtek Semiconductor Inc

Back Button HT46C46 Datasheet HTML 3Page - Holtek Semiconductor Inc HT46C46 Datasheet HTML 4Page - Holtek Semiconductor Inc HT46C46 Datasheet HTML 5Page - Holtek Semiconductor Inc HT46C46 Datasheet HTML 6Page - Holtek Semiconductor Inc HT46C46 Datasheet HTML 7Page - Holtek Semiconductor Inc HT46C46 Datasheet HTML 8Page - Holtek Semiconductor Inc HT46C46 Datasheet HTML 9Page - Holtek Semiconductor Inc HT46C46 Datasheet HTML 10Page - Holtek Semiconductor Inc HT46C46 Datasheet HTML 11Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 42 page
background image
HT46R46/HT46C46/HT46R47/HT46C47
Rev. 1.00
7
December 28, 2004
Program Memory
- ROM
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
1K
´14 bits, addressed by the program counter and table
pointer.
Certain locations in the program memory are reserved
for special usage:
· Location 000H
This area is reserved for program initialization. After
chip reset, the program always begins execution at lo-
cation 000H.
· Location 004H
This area is reserved for the external interrupt service
program. If the INT input pin is activated, the interrupt
is enabled and the stack is not full, the program begins
execution at location 004H.
· Location 008H
This area is reserved for the timer/event counter inter-
rupt service program. If a timer interrupt results from a
timer/event counter overflow, and if the interrupt is en-
abled and the stack is not full, the program begins exe-
cution at location 008H.
· Location 00CH
This area is reserved for the A/D converter interrupt
service program. If an A/D converter interrupt results
from an end of A/D conversion, and if the interrupt is
enabled and the stack is not full, the program begins
execution at location 00CH.
· Table location
Any location in the ROM space can be used as
look-up tables. The instructions
²TABRDC [m]² (the
current page, 1 page=256 words) and
²TABRDL [m]²
(the last page) transfer the contents of the lower-order
byte to the specified data memory, and the
higher-order byte to TBLH (08H). Only the destination
of the lower-order byte in the table is well-defined, the
other bits of the table word are transferred to the lower
portion of TBLH, and the remaining 2 bits are read as
²0². The Table Higher-order byte register (TBLH) is
read only. The table pointer (TBLP) is a read/write reg-
ister (07H), which indicates the table location. Before
accessing the table, the location must be placed in
TBLP. The TBLH is read only and cannot be restored.
If the main routine and the ISR (Interrupt Service Rou-
tine) both employ the table read instruction, the con-
tents of the TBLH in the main routine are likely to be
changed by the table read instruction used in the ISR.
1 4 b i t s
n 0 0 H
n F F H
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 r a n g e s f r o m 0 t o 3
0 0 0 H
0 0 4 H
0 0 8 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
0 0 C H
3 F F H
3 0 0 H
Program Memory for the HT46R46/HT46C46
Instruction
Table Location
*10
*9
*8
*7
*6
*5
*4
*3
*2
*1
*0
TABRDC [m]
P10
P9
P8
@7
@6
@5
@4
@3
@2
@1
@0
TABRDL [m]
1
1
1
@7
@6
@5
@4
@3
@2
@1
@0
Table Location
Note:
*10~*0: Table location bits
P10~P8: Current program counter bits
@7~@0: Table pointer bits
For the HT46R47/HT46C47, the Table address location is 11 bits, i.e. from *10~*0.
For the HT46R46/HT46C46, the Table address location is 10 bits, i.e. from *9~*0.
1 4 b i t s
n 0 0 H
n F F H
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 r a n g e s f r o m 0 t o 7
0 0 0 H
0 0 4 H
0 0 8 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
0 0 C H
7 F F H
7 0 0 H
Program Memory for the HT46R47/HT46C47



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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