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
P89LPC9102_9103_9107_3 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 03 — 10 July 2007 22 of 61
NXP Semiconductors
P89LPC9102/9103/9107
8-bit microcontrollers with two-clock accelerated 80C51 core
[3] All ports are in input-only (high-impedance) state after power-up.
[4] The RSTSRC register reflects the cause of the P89LPC9102/9103/9107 reset. Upon a power-up reset, all reset source flags are cleared except POF and BOF; the power-on reset
value is xx11 0000.
[5] The only reset source that affects these SFRs is power-on reset.
[6] On power-on reset, the TRIM SFR is initialized with a factory preprogrammed value. Other resets will not cause initialization of the TRIM register.
[7] After reset, the value is 1110 01x1, i.e., PRE2 to PRE0 are all logic 1s, WDRUN = 1 and WDCLK = 1. WDTOF bit is logic 1 after watchdog timer reset and is logic 0 after power-on
reset. Other resets will not affect WDTOF.
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
P89LPC9102_9103_9107_3 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 03 — 10 July 2007 23 of 61
NXP Semiconductors
P89LPC9102/9103/9107
8-bit microcontrollers with two-clock accelerated 80C51 core
Table 9. P89LPC9107 special function registers
* indicates SFRs that are bit addressable.
Name Description SFR
addr.
Bit functions and addresses Reset value
MSB LSB Hex Binary
Bit address E7 E6 E5 E4 E3 E2 E1 E0
ACC* Accumulator E0H 00 0000 0000
ADCON1 A/D control register 1 97H ENBI1 ENADCI
1
TMM1 - ADCI1 ENADC1 ADCS11 ADCS10 00 0000 0000
ADINS A/D input select A3H AD13 AD12 AD11 AD10 ----000000 0000
ADMODA A/D mode register A C0H BNDI1 BURST1 SCC1 SCAN1 ----000000 0000
ADMODB A/D mode register B A1H CLK2 CLK1 CLK0 - ENDAC1 - BSA1 - 00 000x 0000
AD1BH A/D_1 boundary high register C4H FF 1111 1111
AD1BL A/D_1 boundary low register BCH 00 0000 0000
AD1DAT0 A/D_1 data register 0 D5H 00 0000 0000
AD1DAT1 A/D_1 data register 1 D6H 00 0000 0000
AD1DAT2 A/D_1 data register 2 D7H 00 0000 0000
AD1DAT3 A/D_1 data register 3 F5H 00 0000 0000
AUXR1 Auxiliary function register A2H CLKLP EBRR ENT1 ENT0 SRST 0 - DPS 00
[1]
0000 00x0
Bit address F7 F6 F5 F4 F3 F2 F1 F0
B* B register F0H 00 0000 0000
BRGR0
[2]
Baud rate generator rate low BEH 00 0000 0000
BRGR1
[2]
Baud rate generator rate high BFH 00 0000 0000
BRGCON Baud rate generator control BDH ------SBRGS BRGEN 00
[2]
xxxx xx00
CMP1 Comparator 1 control register ACH - - CE1 CP1 CN1 - CO1 CMF1 00
[1]
xx00 0000
DIVM CPU clock divide-by-M
control
95H 00 0000 0000
DPTR Data pointer (2 bytes)
DPH Data pointer high 83H 00 0000 0000
DPL Data pointer low 82H 00 0000 0000
FMADRH Program flash address high E7H 00 0000 0000
FMADRL Program flash address low E6H 00 0000 0000
FMCON Program flash Control (Read) E4H BUSY - - - HVA HVE SV OI 70 0111 0000
Program flash Control (Write) FMCMD.
7
FMCMD.
6
FMCMD.
5
FMCMD.
4
FMCMD.
3
FMCMD.
2
FMCMD.
1
FMCMD.
0
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
P89LPC9102_9103_9107_3 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 03 — 10 July 2007 24 of 61
NXP Semiconductors
P89LPC9102/9103/9107
8-bit microcontrollers with two-clock accelerated 80C51 core
FMDATA Program flash data E5H 00 0000 0000
IEN0* Interrupt enable 0 A8H EA EWDRT EBO ES/ESR ET1 - ET0 - 00 0000 0000
Bit address EF EE ED EC EB EA E9 E8
IEN1* Interrupt enable 1 E8H EAD EST - - - EC EKBI - 00
[1]
00x0 0000
Bit address BF BE BD BC BB BA B9 B8
IP0* Interrupt priority 0 B8H - PWDRT PBO PS/PSR PT1 - PT0 - 00
[1]
x000 0000
IP0H Interrupt priority 0 high B7H - PWDRT
H
PBOH PSH
/PSRH
PT1H - PT0H - 00
[1]
x000 0000
Bit address FF FE FD FC FB FA F9 F8
IP1* Interrupt priority 1 F8H PAD PST - - - PC PKBI - 00
[1]
00x0 0000
IP1H Interrupt priority 1 high F7H PADH PSTH - - - PCH PKBIH - 00
[1]
00x0 0000
KBCON Keypad control register 94H ------PATN
_SEL
KBIF 00
[1]
xxxx xx00
KBMASK Keypad interrupt mask
register
86H ----KBMASK
.2
KBMASK
.1
- 00 xxxx x00x
KBPATN Keypad pattern register 93H -----KBPATN.
2
KBPATN.
1
- FF xxxx x11x
Bit address 87 86 85 84 83 82 81 80
P0* Port 0 80H - - CMPREF
/CLKIN
CIN1A CIN1B KBI2 KBI1 -
[3]
Bit address 97 96 95 94 93 92 91 90
P1* Port 1 90H - -
RST - - - RXD TXD
P0M1 Port 0 output mode 1 84H - - (P0M1.5) (P0M1.4) (P0M1.3) (P0M1.2) (P0M1.1) - FF 1111 1111
P0M2 Port 0 output mode 2 85H - - (P0M2.5) (P0M2.4) (P0M2.3) (P0M2.2) (P0M2.1) - 00 0000 0000
P1M1 Port 1 output mode 1 91H ------(P1M1.1) (P1M1.0) FF
[1]
1111 1111
P1M2 Port 1 output mode 2 92H ------(P1M2.1) (P1M2.0) 00
[1]
0000 0000
PCON Power control register 87H SMOD1 SMOD0 BOPD BOI GF1 GF0 PMOD1 PMOD0 00 0000 0000
PCONA Power control register A B5H RTCPD VCPD ADPD - SPD 00
[1]
0000 0000
PCONB reserved for Power control
register B
B6H--------00
[1]
xxxx xxxx
Table 9. P89LPC9107 special function registers
…continued
* indicates SFRs that are bit addressable.
Name Description SFR
addr.
Bit functions and addresses Reset value
MSB LSB Hex Binary

P89LPC9107FN,112

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC MCU 8BIT 1KB FLASH 14DIP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union