xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx
xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
Philips Semiconductors
P87LPC778
CMOS single-chip 8-bit microcontroller
9397 750 12378
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data Rev. 01 — 31 March 2004 9 of 79
Table 3: Special function registers
* indicates SFRs that are bit addressable.
Name Description SFR
addr.
Bit functions and addresses Reset
value
MSB LSB Hex
Bit address E7 E6 E5 E4 E3 E2 E1 E0
ACC* Accumulator E0H 00H
Bit address C7 C6 C5 C4 C3 C2 C1 C0
ADCON* A/D Control C0h ENADC ADCI ADCS RCCLK AADR1 AADR0 02h
AUXR1 Auxiliary Function Register A2h KBF BOD BOI LPEP SRST 0 - DPS 02h
Bit address F7 F6 F5 F4 F3 F2 F1 F0
B* B register F0h 00H
CMP1 Comparator 1 control register ACh - - CE1 CP1 CN1 OE1 CO1 CMF1 00H
CMP2 Comparator 2 control register ADh - - CE2 CP2 CN2 OE2 CO2 CMF2 00H
CNSW0 PWM Counter shadow register0 D1h CNSW7 CNSW6 CNSW5 CNSW4 CNSW3 CNSW2 CNSW1 CNSW0 FFh
CNSW1 PWM Counter shadow register1 D2h ------CNSW9 CNSW8 FFh
CPSW0 PWM Compare shadow
register0
D3h CPSW07 CPSW06 CPSW05 CPSW04 CPSW03 CPSW02 CPSW01 CPSW00 00H
CPSW1 PWM Compare shadow
register0
D4h CPSW17 CPSW16 CPSW15 CPSW14 CPSW13 CPSW12 CPSW11 CPSW10 00H
CPSW2 PWM Compare shadow
register0
D5h CPSW27 CPSW26 CPSW25 CPSW24 CPSW23 CPSW22 CPSW21 CPSW20 00H
CPSW3 PWM Compare shadow
register0
D6h CPSW37 CPSW36 CPSW35 CPSW34 CPSW33 CPSW32 CPSW31 CPSW30 00H
CPSW4 PWM Compare shadow
register0
D7h CPSW47 CPSW46 CPSW45 CPSW44 CPSW43 CPSW42 CPSW41 CPSW40 00H
DIVM CPU clock divide-by-M control 95h 00H
DPTR Data pointer (2 bytes)
DPH Data pointer HIGH 83h 00H
DPL Data pointer LOW 82h 00H
Bit address CF CE CD CC CB CA C9 C8
I2CFG* I
2
C-bus configuration register C8h/RD SLAVEN MASTRQ 0 TIRUN - - CT1 CT0 00H
C8h/WR SLAVEN MASTRQ CLRTI TIRUN - - CT1 CT0
Bit address DF DE DD DC DB DA D9 D8