Philips P89LPC903 Light Therapy Device User Manual


 
Philips Semiconductors
User’s Manual - Preliminary -
P89LPC901/902/903
GENERAL DESCRIPTION
2003 Dec 8 16
SPECIAL FUNCTION REGISTERS
Note: Special Function Registers (SFRs) accesses are restricted in the following ways:
1. User must NOT attempt to access any SFR locations not defined.
2. Accesses to any defined SFR locations must be strictly for the functions for the SFRs.
3. SFR bits labeled ’-’, ’0’ or ’1’ can ONLY be written and read as follows:
- ’-’ Unless otherwise specified, MUST be written with ’0’, but can return any value when read (even if it was written with ’0’).
It is a reserved bit and may be used in future derivatives.
- ’0’ MUST be written with ’0’, and will return a ’0’ when read.
- ’1’ MUST be written with ’1’, and will return a ’1’ when read.
Special Function Registers Table - P89LPC901
Name Description
SFR
Address
Bit Functions and Addresses Reset Value
MSB
LSB
Hex Binary
E7 E6 E5 E4 E3 E2 E1 E0
ACC* Accumulator E0H 00H 00000000
AUXR1# Auxiliary Function Register A2H CLKLP - - ENT0 SRST 0 - DPS 00H
1
000000x0
F7 F6 F5 F4 F3 F2 F1 F0
B* B Register F0H 00H 00000000
CMP1# Comparator 1 Control Register ACH - - CE1 - CN1 - CO1 CMF1 00H
1
xx000000
DIVM# CPU Clock Divide-by-M Control 95H 00H 00000000
DPTR Data Pointer (2 bytes)
DPH Data Pointer High 83H 00H 00000000
DPL Data Pointer Low 82H 00H 00000000
FMADRH# Program Flash Address High E7H 00H 00000000
FMADRL# Program Flash Address Low E6H 00H 00000000
FMCON#
Program Flash Control (Read)
E4H
BUSY - - - HVA HVE SV OI 70H 01110000
Program Flash Control (Write)
FMCMD.
7
FMCMD.
6
FMCMD.
5
FMCMD.
4
FMCMD.
3
FMCMD.
2
FMCMD.
1
FMCMD.
0
FMDATA# Program Flash Data E5H 00H 00000000
AF AE AD AC AB AA A9 A8
IEN0* Interrupt Enable 0 A8H EA EWDRT EBO - ET1 - ET0 - 00H 00000000
EF EE ED EC EB EA E9 E8
IEN1*# Interrupt Enable 1 E8H - - - - - EC EKBI - 00H
1
00x00000
BF BE BD BC BB BA B9 B8
IP0* Interrupt Priority 0 B8H - PWDRT PBO - PT1 - PT0 - 00H
1
x0000000