Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT95C40P Datasheet(PDF) 10 Page - Holtek Semiconductor Inc

Part # HT95C40P
Description  CID Type Phone 8-Bit MCU
PDF  51 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT95C40P Datasheet(HTML) 10 Page - Holtek Semiconductor Inc

Back Button HT95C40P Datasheet HTML 6Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 7Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 8Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 9Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 10Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 11Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 12Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 13Page - Holtek Semiconductor Inc HT95C40P Datasheet HTML 14Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 51 page
background image
HT95CXXX
Rev. 1.50
10
May 26, 2005
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
8K
´16 bits´2 banks (HT95C400/40P) or 8K´16 bits
(HT95C300/30P, HT95C200/20P) addressed by the
program counter and table pointer.
For the HT95C400/40P, the program memory is divided
into 2 banks, each bank having a ROM Size 8K
´16 bits.
To move from the present ROM bank to a different ROM
bank, the higher 1 bits of the ROM address are set by
the BP (Bank Pointer), while the remaining 13 bits of the
PC are set in the usual way by executing the appropriate
jump or call instruction. As the 14 address bits are
latched during the execution of a call or jump instruction,
the correct value of the BP must first be setup before a
jump or call is executed. When either a software or hard-
ware interrupt is received, note that no matter which
ROM bank the program is in, the program will always
jump to the appropriate interrupt service address in
Bank 0. The original 14 bits address will be stored on the
stack and restored when the relevant RET/RETI instruc-
tion is executed, automatically returning the program to
the original ROM bank. This eliminates the need for pro-
grammers to manage the BP when interrupts occur.
Certain locations in the program memory are reserved
for special usage:
· Location 0000H (Bank0)
This area is reserved for the initialization program. Af-
ter chip power-on reset or external reset or WDT
time-out reset, the program always begins execution
at location 0000H.
· Location 0004H (Bank0)
This area is reserved for the external interrupt service
program. If the INT/TMR1 input pin is activated, the
external interrupt is enabled and the stack is not full,
the program begins execution at location 0004H.
· Location 0008H (Bank0)
This area is reserved for the Timer/Event Counter 0 in-
terrupt service program. If a timer interrupt results
from a Timer/Event Counter 0 overflow, the
Timer/Event Counter 0 interrupt is enabled and the
stack is not full, the program begins execution at loca-
tion 0008H.
· Location 000CH (Bank0)
This location is reserved for the Timer/Event Counter
1 interrupt service program. If a timer interrupt results
from a Timer/Event Counter 1 overflow, the
Timer/Event Counter 1 interrupt is enabled and the
stack is not full, the program begins execution at loca-
tion 000CH.
· Location 0010H (Bank0)
This location is reserved for the peripherals interrupt
service program. When the FSK decoder detects a
ringer or line reversal or FSK carrier signal or FSK
packet data, the FSK interrupt is generated. If these
interrupts
occurred, the peripheral interrupt is en-
abled and the stack is not full, the program begins ex-
ecution at location 0010H. The programmer could
distinguish from these interrupts from the FSKS regis-
ter.
· Location 0014H (Bank0)
This location is reserved for real time clock (RTC) in-
terrupt service program. When RTC generator is en-
abled and time-out occurs, the RTC interrupt is
enabled and the stack is not full, the program begins
execution at location 0014H.
· Location 0018H (Bank0)
This location is reserved for the HKS pin edge transi-
tion or HDI pin falling edge transition or HFI pin rising
edge transition. If this condition occurs, the dialer I/O
interrupt is enabled and the stack is not full, the pro-
gram begins execution at location 18H.
0 0 0 H
0 0 4 H
0 0 8 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
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 0 i n t e r r u p t s u b r o u t i n e
P r o g r a m
R O M
1 6 b i t s
L o o k - u p t a b l e ( 2 5 6 w o r d s )
n 0 0 H
L o o k - u p t a b l e ( 2 5 6 w o r d s )
n F F H
T i m e r / e v e n t c o u n t e r 1 i n t e r r u p t s u b r o u t i n e
0 0 C H
P e r i p h e r a l i n t e r r u p t s u b r o u t i n e
0 1 0 H
R T C i n t e r r u p t s u b r o u t i n e
0 1 4 H
D i a l e r I / O i n t e r r u p t s u b r o u t i n e
0 1 8 H
N o t e : T h e L a s t p a g e f o r H T 9 5 C 4 0 0 / 4 0 P i s 3 F 0 0 H ~ 3 F F F H
T h e L a s t p a g e f o r H T 9 5 C 3 0 0 / 3 0 P i s 1 F 0 0 H ~ 1 F F F H
T h e L a s t p a g e f o r H T 9 5 C 2 0 0 / 2 0 P i s 1 F 0 0 H ~ 1 F F F H
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 43 44 45 46 47 48 49 50 51


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