datasheetbank_Logo
búsqueda de Hoja de datos y gratuito Fichas de descarga

HT46R63 Ver la hoja de datos (PDF) - Holtek Semiconductor

Número de pieza
componentes Descripción
Lista de partido
HT46R63 Datasheet PDF : 44 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HT46R63/HT46C63
cessible. At a subroutine call or interrupt
acknowledgment, 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 program counter is restored to its
previous value from the stack. After a chip reset, the
stack pointer 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
acknowledgment will be inhibited. When the stack
pointer is decreased (by RET or RETI), the interrupt will
be serviced. This feature prevents stack overflow allow-
ing the programmer to use the structure more easily. In
similar case, if the stack is full and a ²call² is subse-
quently executed, stack overflow occurs and the first en-
try will be lost (only the most recent 8 return addresses
are stored).
Data Memory - RAM
The data memory is designed with 239´8 bits. The
data memory is divided into two functional groups: spe-
cial function registers and general purpose data mem-
ory (208´8). Most are read/write, but some are read
only.
The special function registers include the indirect ad-
dressing register 0 and 1 (R0;00H, R1;02H), memory
pointer 0 and 1 (MP0;01H, MP1;03H), bank pointer
(BP:04H), accumulator (ACC;05H), program counter
lower-order byte register (PCL;06H), table pointer
(TBLP;07H), table higher-order byte register
(TBLH;08H), real time clock control register
(RTCC;09H), status register (STATUS;0AH), interrupt
control register (INTC0;0BH), timer higher-order byte
register (TMRH;0CH), timer lower-order byte register
(TMRL;0DH), timer control register (TMRC;0EH), I/O
port data registers (PA;12H, PB;14H, PC;16H, PD;18H),
I/O port control registers (PAC;13H, PBC;15H,
PCC;17H, PDC;19H), PWM0 (1AH), PWM1 (1BH),
PWM2 (1CH), PWM3 (1DH), INTC1 (1EH),the A/D re-
sult register (ADR;21H), the A/D control register
(ADCR;22H) and the A/D clock setting register
(ACSR;23H). The remaining space before the 30H is re-
served for future expansion and reading these locations
will return the result ²00H². The general-purpose data
memory, addressed from 30H to FFH, is used for data
and control information under instruction commands.
All of the data memory areas can handle arithmetic,
logic, increment, decrement and rotate operations di-
rectly. Except for some dedicated bits, each bit in the
data memory can be set and cleared by ²SET [m].i² and
²CLR [m].i², respectively. They are also indirectly acces-
sible through memory pointers (MP0 and MP1).
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
R TC C
0A H
STATU S
0B H
IN T C 0
0C H
TM R H
0D H
TM R L
0E H
TM R C
0FH
10H
11H
12H
PA
13H
PAC
14H
PB
15H
PBC
16H
PC
17H
PCC
18H
PD
19H
PDC
1A H
PW M 0
1B H
PW M 1
1C H
PW M 2
1D H
PW M 3
1E H
IN T C 1
1FH
20H
21H
ADR
22H
ADCR
23H
ACSR
24H
S p e c ia l P u r p o s e
D ATA M EM O R Y
2FH
30H
G e n e ra l P u rp o s e
D a ta M e m o ry
(2 0 8 B y te s )
FFH
:U nused
R e a d a s "0 0 "
RAM Mapping
Indirect Addressing Register
Location 00H (02H) is indirect addressing registers that
are not physically implemented. Any read/write opera-
tion of [00H] ([02H]) will access data memory pointed to
by MP0 (MP1). Reading location 00H (02H) itself indi-
rectly will return the result ²00H². Writing indirectly re-
sults in no operation.
The memory pointers are 8-bit registers. Only the
MP1/R1 can be used to access the LCD RAM (BP=1).
Rev. 1.90
10
May 17, 2004

Share Link: 

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