HMS87C5216 ETC1 [List of Unclassifed Manufacturers], HMS87C5216 Datasheet - Page 23

no-image

HMS87C5216

Manufacturer Part Number
HMS87C5216
Description
CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER FOR UR(Universal Remocon) & WIRELESS KEYBOARD
Manufacturer
ETC1 [List of Unclassifed Manufacturers]
Datasheet
9.3 Data Memory
Figure 9-7 shows the internal Data Memory space available. Data
Memory is divided into two groups, a user RAM (including
Stack) and control registers.
User Memory
The HMS87C5216 has 330
Control Registers
The control registers are used by the CPU and Peripheral function
blocks for controlling the desired operation of the device. There-
fore these registers contain control and status bits for the interrupt
system, the timer/ counters, analog to digital converters and I/O
ports. The control registers are in address range of 0C0
Note that unoccupied addresses may not be implemented on the
chip. Read accesses to these addresses will in general return ran-
dom data, and write accesses will have an indeterminate effect.
More detailed informations of each register are explained in each
peripheral section.
Note: Write only registers can not be accessed by bit ma-
nipulation instruction. Do not use read-modify-write instruc-
tion. Use byte manipulation instruction.
Example; To write at CKCTLR
Note: Several names are given at same address. Refer to-
SEP. 2004 Ver 1.01
LDM
00BFH
00C0H
00FFH
0100H
0000H
017FH
Figure 9-7 Data Memory Map
CKCTLR,#09H ;Divide ratio
REGISTERS
CONTROL
MEMORY
USER
MEMORY
(including STACK)
USER
8 bits for the user memory (RAM).
PAGE2
PAGE0
H
to 0FF
16
H
.
Address
Address
0CAH
0CBH
0CCH
0CDH
0CEH
0DAH
0DCH
0DDH
0DEH
0C0H
0C1H
0C2H
0C3H
0C4H
0C5H
0C6H
0C7H
0C7H
0C8H
0C9H
0CFH
0D0H
0D1H
0D2H
0D3H
0D4H
0D5H
0D5H
0D6H
0D6H
0D7H
0D8H
0D8H
0D9H
0D9H
0DFH
0EEH
0EFH
0E0H
0E1H
0E4H
0E5H
0E6H
0E7H
0E8H
CKCTLR
RCWTR
Symbol
Symbol
T0HMD
T0LMD
T0HLD
WDTR
T0LLD
R2OD
R3OD
R4OD
R0OD
R0DR
R1DR
R2DR
TMR1
T0MC
R3DR
R4DR
TMR2
LVDR
T1HD
TM01
KSR0
KSR1
R10D
IRQH
T0LC
T1LD
IESR
IRQL
IENH
BITR
IENL
PSR
TM0
TM1
TM2
Table 9-1 Control Registers
T1C
T2C
T2D
R0
R1
R2
R3
R4
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
R
R
R
R
R
R
R
Undefined
0000_0000
Undefined
0000_0000
Undefined
0000_0000
0000_0000
--11_0111
0000_0000
-000_1111
--00_0000
----_1000
--00_00--
-000_-0--
-000_-0--
000-_000-
000-_000-
0000_0000
0000_-000
---0_0000
Undefined
Undefined
0000_0000
Undefined
0000_0000
Undefined
Undefined
0000_0000
Undefined
0000_0000
Undefined
0000_0000
00000_000
0000_0000
0000_0000
0000_0000
0000_0000
--00_0000
0000_0000
Undefined
0000_0000
Undefined
--00_0000
0000_0000
---_-00-
RESET
RESET
Value
Value
HMS87C5216
Addressing
Addressing
byte, bit
byte, bit
byte, bit
byte,bot
byte, bit
byte, bit
byte, bit
byte,bit
byte,bit
byte,bit
byte,bit
byte,bit
byte,bit
byte,bit
byte,bit
byte
mode
mode
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
byte
2
1

Related parts for HMS87C5216