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
UM10
346_
1
©
NXP
B.V
. 2009.
Al
l r
ig
h
ts
r
e
s
e
rv
ed.
User m
a
nu
al
Rev
. 0
1
— 2 No
vemb
e
r 2009
14 of
132
N
X
P Semi
conductor
s
UM10346
L
P
C9
80
/9
82
U
s
e
r ma
nu
a
l
Bit address
FF
FE
FD
FC
FB
FA
F9
F8
IP1*
Interrupt priority
1
F8H
-
PST
-
PXTIM
PSPI
PC
PKBI
PI2C
00
00x0 0000
IP1H
Interrupt priority
1 high
F7H
-
PSTH
-
PXTIMH
PSPIH
PCH
PKBIH
PI2CH
00
00x0 0000
KBCON
Keypad control
register
94H
-
-
-
-
-
-
PATN
_SEL
KBIF
00
xxxx xx00
KBMASK
Keypad
interrupt mask
register
86H
00
0000 0000
KBPATN
Keypad pattern
register
93H
FF
1111 1111
Bit address
87
86
85
84
83
82
81
80
P0*
Port 0
80H
T1/KB7
CMP1
/KB6
CMPREF
/KB5/T3
CIN1A
/KB4
CIN1B
/KB3/T2
CIN2A
/KB2
CIN2B
/KB1
CMP2
/KB0
Bit address
97
96
95
94
93
92
91
90
P1*
Port 1
90H
T3EX
-
RST
INT1/T4E
X
INT0/SDA/
T4
T0/SCL
RXD/T2EX
TXD
Bit address
A7
A6
A5
A4
A3
A2
A1
A0
P2*
Port 2
A0H
-
-
SPICLK
SS
MISO
MOSI
-
-
Bit address
B7
B6
B5
B4
B3
B2
B1
B0
P3*
Port 3
B0H
-
-
-
-
-
-
XTAL1
XTAL2
P0M1
Port 0 output
mode 1
84H
(P0M1.7)
(P0M1.6)
(P0M1.5)
(P0M1.4)
(P0M1.3)
(P0M1.2)
(P0M1.1)
(P0M1.0)
FF
1111 1111
P0M2
Port 0 output
mode 2
85H
(P0M2.7)
(P0M2.6)
(P0M2.5)
(P0M2.4)
(P0M2.3)
(P0M2.2)
(P0M2.1)
(P0M2.0)
00
0000 0000
P1M1
Port 1 output
mode 1
91H
(P1M1.7)
(P1M1.6)
-
(P1M1.4)
(P1M1.3)
(P1M1.2)
(P1M1.1)
(P1M1.0)
D3
11x1 xx11
P1M2
Port 1 output
mode 2
92H
(P1M2.7)
(P1M2.6)
-
(P1M2.4)
(P1M2.3)
(P1M2.2)
(P1M2.1)
(P1M2.0)
00
00x0 xx00
Table 2.
Special function registers - P89LPC980/982
* indicates SFRs that are bit addressable.
Name
Description
SFR
addr.
Bit functions and addresses
Reset value
MSB
LSB
Hex
Binary