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

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

Número de pieza
componentes Descripción
Fabricante
HT46R92 Datasheet PDF : 61 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
HT46R92
Because the TBLH register is a read-only register and
cannot be restored, care should be taken to ensure its
protection if both the main routine and Interrupt Service
Routine use table read instructions. If using the table
read instructions, the Interrupt Service Routines may
change the value of the TBLH and subsequently cause
errors if used again by the main routine. As a rule it is
recommended that simultaneous use of the table read
instructions should be avoided. However, in situations
where simultaneous use cannot be avoided, the inter-
rupts should be disabled prior to the execution of any
main routine table-read instructions. Note that all table
related instructions require two instruction cycles to
complete their operation.
Data Memory
The Data Memory is a volatile area of 8-bit wide RAM
internal memory and is the location where temporary in-
formation is stored. Divided into two sections, the first of
these is an area of RAM where special function registers
are located. These registers have fixed locations and
are necessary for correct operation of the device. Many
of these registers can be read from and written to di-
rectly under program control, however, some remain
00H
S p e c ia l P u r p o s e
D a ta M e m o ry
27H
28H
G e n e ra l P u rp o s e
D a ta M e m o ry
7FH
Data Memory Structure
Note:
Most of the Data Memory bits can be directly
manipulated using the ²SET [m].i² and ²CLR
[m].i² with the exception of a few dedicated bits.
The Data Memory can also be accessed
through the memory pointer registers MP0 and
MP1.
protected from user manipulation. The second area of
Data Memory is reserved for general purpose use. All
locations within this area are read and write accessible
under program control.
Structure
The two sections of Data Memory, the Special Purpose
and General Purpose Data Memory are located at con-
secutive locations. All are implemented in RAM and are
8 bits wide but the length of each memory section is dic-
tated by the type of microcontroller chosen. The start
address of the Data Memory for all devices is the ad-
dress ²00H². Registers which are common to all
microcontrollers, such as ACC, PCL, etc., have the
same Data Memory address.
General Purpose Data Memory
All programs require an area of read/write memory
where temporary data can be stored and retrieved for
use later. It is this area of RAM memory that is known as
General Purpose Data Memory. This area of Data Mem-
ory is fully accessible by the user program for both read
and write operations. By using the ²SET [m].i² and ²CLR
[m].i² instructions individual bits can be set or reset un-
der program control giving the user a large range of flex-
ibility for bit manipulation in the Data Memory.
00H
IA R 0
01H
M P0
02H
IA R 1
03H
M P1
04H
05H
ACC
06H
PCL
07H
TB LP
08H
TB LH
09H
0A H S TA TU S
0 B H IN T C 0
0C H
0D H
TM R
0E H TM R C
0FH
10H
11H
12H
PA
13H
PAC
14H
PB
15H
PBC
16H
PC
17H
18H
PD
19H
1A H
PE
1B H P W M 0
1C H P W M 1
1D H
1 E H IN T C 1
1FH
LC D C
20H M O D E
21H
22H
23H
24H
ADRL
25H A D R H
26H A D C R
27H
ACSR
: U n u s e d , re a d a s "0 0 "
Special Purpose Data Memory
Rev. 1.10
11
November 5, 2008

Share Link: 

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