Philips P89LPC938 User Manual page 15

Single-chip microcontroller
Table of Contents

Advertisement

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
Table 2:
P89LPC938 Special function registers
* indicates SFRs that are bit addressable.
Name
Description
RTCH
RTC register high
RTCL
RTC register low
SADDR
Serial port address register
SADEN
Serial port address enable
SBUF
Serial Port data buffer
register
SCON*
Serial port control
SSTAT
Serial port extended status
register
SP
Stack pointer
SPCTL
SPI control register
SPSTAT
SPI status register
SPDAT
SPI data register
TAMOD
Timer 0 and 1 auxiliary
mode
TCON*
Timer 0 and 1 control
TCR20*
CCU control register 0
TCR21
CCU control register 1
TH0
Timer 0 high
TH1
Timer 1 high
TH2
CCU timer high
TICR2
CCU interrupt control
register
TIFR2
CCU interrupt flag register
TISE2
CCU interrupt status
encode register
TL0
Timer 0 low
TL1
Timer 1 low
...continued
SFR
Bit functions and addresses
addr.
MSB
D2H
D3H
A9H
B9H
99H
Bit address
9F
9E
98H
SM0/FE
SM1
BAH
DBMOD
INTLO
81H
E2H
SSIG
SPEN
E1H
SPIF
WCOL
E3H
8FH
-
-
Bit address
8F
8E
88H
TF1
TR1
C8H
PLEEN
HLTRN
F9H
TCOU2
-
8CH
8DH
CDH
C9H
TOIE2
TOCIE2D TOCIE2C TOCIE2B TOCIE2A
E9H
TOIF2
TOCF2D TOCF2C TOCF2B
DEH
-
-
8AH
8BH
9D
9C
9B
SM2
REN
TB8
RB8
CIDIS
DBISEL
FE
DORD
MSTR
CPOL
CPHA
-
-
-
-
T1M2
-
8D
8C
8B
TF0
TR0
IE1
HLTEN
ALTCD
ALTAB
TDIR2
-
-
PLLDV.3
PLLDV.2
TOCF2A
-
-
-
ENCINT.
Reset value
LSB
Hex
[6]
00
[6]
00
00
00
xx
9A
99
98
TI
RI
00
BR
OE
STINT
00
07
SPR1
SPR0
04
-
-
-
00
00
-
-
T0M2
00
8A
89
88
IT1
IE0
IT0
00
TMOD21 TMOD20 00
PLLDV.1
PLLDV.0 00
00
00
00
-
TICIE2B
TICIE2A 00
-
TICF2B
TICF2A
00
ENCINT.
ENCINT.
00
2
1
0
00
00
Binary
0000 0000
0000 0000
0000 0000
0000 0000
xxxx xxxx
0000 0000
0000 0000
0000 0111
0000 0100
00xx xxxx
0000 0000
xxx0 xxx0
0000 0000
0000 0000
0xxx 0000
0000 0000
0000 0000
0000 0000
0000 0x00
0000 0x00
xxxx x000
0000 0000
0000 0000

Advertisement

Table of Contents
loading

Table of Contents