DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

HT82K94E 데이터 시트보기 (PDF) - Holtek Semiconductor

부품명
상세내역
제조사
HT82K94E
Holtek
Holtek Semiconductor Holtek
HT82K94E Datasheet PDF : 43 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HT82K94E/HT82K94A
It will not be enabled until the TBLH has been backed
up. All table related instructions require two cycles to
complete the operation. These areas may function as
normal program memory depending on the require-
ments.
Once TBHP is enabled, the instruction ²TABRDC [m]²
reads the ROM data as defined by TBLP and TBHP
value. Otherwise, the ROM code option TBHP is dis-
abled, the instruction ²TABRDC [m]² reads the ROM
data as defined by TBLP and the current program
counter bits.
Stack Register - STACK
This is a special part of the memory which is used to
save the contents of the program counter only. The
stack is organized into 8 levels and is neither part of the
data nor part of the program space, and is neither read-
able nor writeable. The activated level is indexed by the
stack pointer (SP) and is neither readable nor writeable.
At a subroutine call or interrupt acknowledge signal, the
contents of the program counter are pushed onto the
stack. At the end of a subroutine or an interrupt routine,
signaled by a return instruction (RET or RETI), the pro-
gram counter is restored to its previous value from the
stack. After a chip reset, the SP will point to the top of the
stack.
If the stack is full and a non-masked interrupt takes
place, the interrupt request flag will be recorded but the
acknowledge signal will be inhibited. When the stack
pointer is decremented (by RET or RETI), the interrupt
will be serviced. This feature prevents stack overflow al-
lowing the programmer to use the structure more easily.
In a similar case, if the stack is full and a ²CALL² is sub-
sequently executed, stack overflow occurs and the first
entry will be lost (only the most recent 8 return ad-
dresses are stored).
Data Memory - RAM for Bank 0
The data memory is designed with 255´8 bits. The
data memory is divided into two functional groups: spe-
cial function registers and general purpose data mem-
ory (224´8). Most are read/write, but some are read
only.
The general purpose data memory, addressed from
20H to FFH, is used for data and control information
under instruction commands. All of the data memory
areas can handle arithmetic, logic, increment, decre-
ment and rotate operations directly. Except for some
dedicated bits, each bit in the data memory can be set
and reset by ²SET [m].i² and ²CLR [m].i². They are also
indirectly accessible through memory pointer registers
(MP0 or MP1).
Data Memory - RAM for Bank 1
The special function registers used in USB interface are
located in RAM bank 1. In order to access the Bank1
register, only the Indirect addressing pointer MP1 can
be used and the Bank register BP should be set to ²1².
The mapping of RAM bank 1 is as shown.
B ank 0
00H
In d ir e c t A d d r e s s in g R e g is te r 0
01H
M P0
02H
In d ir e c t A d d r e s s in g R e g is te r 1
03H
M P1
04H
BP
05H
ACC
06H
PCL
07H
TB LP
08H
TB LH
09H
W D TS
0A H
STATU S
0B H
IN T C
0C H
0D H
TM R 0
0E H
TM R 0C
0FH
TM R 1H
10H
TM R 1L
11H
TM R 1C
12H
PA
13H
PAC
14H
PB
15H
PBC
16H
PC
17H
PCC
18H
PD
19H
PDC
1A H
PE
1B H
PEC
1C H
USC
1D H
USR
1E H
SCC
1FH
TBH P
20H
S p e c ia l P u r p o s e
D a ta M e m o ry
G e n e ra l P u rp o s e
D a ta M e m o ry
(2 2 4 B y te s )
:U nused
FFH
R e a d a s "0 0 "
Bank 0 RAM Mapping
40H
41H
P IP E _ C T R L
42H
AW R
43H
S TA LL
44H
P IP E
45H
S IE S
46H
M IS C
47H
E n d p t_ E N
48H
F IF O 0
49H
F IF O 1
4A H
F IF O 2
4B H
F IF O 3
4C H
U n d e fin e d , r e s e r v e d
fo r fu tu r e e x p a n s io n
FFH
Bank 1 RAM Mapping
Rev. 1.50
8
October 11, 2007

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]