P89LV51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 05 — 15 December 2009 10 of 76
NXP Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
6. Functional description
6.1 Special function registers
Remark: SFR accesses are restricted in the following ways:
User must not attempt to access any SFR locations not defined.
Accesses to any defined SFR locations must be strictly for the functions for the SFRs.
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.
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
P89LV51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 05 — 15 December 2009 11 of 76
NXP Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
Table 4. Special function registers
* Indicates SFRs that are bit addressable.
Name Description SFR
addr.
Bit functions and addresses
MSB LSB
Bit address E7 E6 E5 E4 E3 E2 E1 E0
ACC* Accumulator E0H
AUXR Auxiliary function register 8EH - - ----EXTRAM AO
AUXR1 Auxiliary function register 1 A2H - - - - GF2 0 - DPS
Bit address F7 F6 F5 F4 F3 F2 F1 F0
B* B register F0H
CCAP0H Module 0 Capture HIGH FAH
CCAP1H Module 1 Capture HIGH FBH
CCAP2H Module 2 Capture HIGH FCH
CCAP3H Module 3 Capture HIGH FDH
CCAP4H Module 4 Capture HIGH FEH
CCAP0L Module 0 Capture LOW EAH
CCAP1L Module 1 Capture LOW EBH
CCAP2L Module 2 Capture LOW ECH
CCAP3L Module 3 Capture LOW EDH
CCAP4L Module 4 Capture LOW EEH
CCAPM0 Module 0 Mode DAH - ECOM_0 CAPP_0 CAPN_0 MAT_0 TOG_0 PWM_0 ECCF_0
CCAPM1 Module 1 Mode DBH - ECOM_1 CAPP_1 CAPN_1 MAT_1 TOG_1 PWM_1 ECCF_1
CCAPM2 Module 2 Mode DCH - ECOM_2 CAPP_2 CAPN_2 MAT_2 TOG_2 PWM_2 ECCF_2
CCAPM3 Module 3 Mode DDH - ECOM_3 CAPP_3 CAPN_3 MAT_3 TOG_3 PWM_3 ECCF_3
CCAPM4 Module 4 Mode DEH - ECOM_4 CAPP_4 CAPN_4 MAT_4 TOG_4 PWM_4 ECCF_4
Bit address DF DE DD DC DB DA D9 D8
CCON* PCA Counter Control D8H CF CR - CCF4 CCF3 CCF2 CCF1 CCF0
CH PCA Counter HIGH F9H
CL PCA Counter LOW E9H
CMOD PCA Counter Mode D9H CIDL WDTE - - - CPS1 CPS0 ECF
DPTR Data Pointer (2 B)
DPH Data Pointer HIGH 83H
DPL Data Pointer LOW 82H
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
P89LV51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 05 — 15 December 2009 12 of 76
NXP Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
FST Flash Status Register B6 - SB - - EDC - - -
Bit address AF AE AD AC AB AA A9 A8
IEN0* Interrupt Enable 0 A8H EA EC ET2 ES ET1 EX1 ET0 EX0
Bit address EF EE ED EC EB EA E9 E8
IEN1* Interrupt Enable 1 E8H - - - - EBO - - -
Bit address BF BE BD BC BB BA B9 B8
IP0* Interrupt Priority B8H - PPC PT2 PS PT1 PX1 PT0 PX0
IP0H Interrupt Priority 0 HIGH B7H - PPCH PT2H PSH PT1H PX1H PT0H PX0H
Bit address FF FE FD FC FB FA F9 F8
IP1* Interrupt Priority 1 F8H - - - PBO - - - -
IP1H Interrupt Priority 1 HIGH F7H - - - PBOH - - - -
FCF B1H------SWRBSEL
Bit address 87 86 85 84 83 82 81 80
P0* Port 0 80H AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0
Bit address 97 96 95 94 93 92 91 90
P1* Port 1 90H CEX4/
SPICLK
CEX3/
MISO
CEX2/
MOSI
CEX1/
SS CEX0 ECI T2EX T2
Bit address A7 A6 A5 A4 A3 A2 A1 A0
P2* Port 2 A0H A15 A14 A13 A12 A11 A10 A9 A8
Bit address B7 B6 B5 B4 B3 B2 B1 B0
P3* Port 3 B0H
RD WR T1 T0 INT1 INT0 TXD RXD
PCON Power Control Register 87H SMOD1 SMOD0 BOF POF GF1 GF0 PD IDL
Bit address D7 D6 D5 D4 D3 D2 D1 D0
PSW* Program Status Word D0H CY AC F0 RS1 RS0 OV F1 P
RCAP2H Timer2 Capture HIGH CBH
RCAP2L Timer2 Capture LOW CAH
Bit address 9F 9E 9D 9C 9B 9A 99 98
SCON* Serial Port Control 98H SM0/FE SM1 SM2 REN TB8 RB8 TI RI
SBUF Serial Port Data Buffer Register 99H
Table 4. Special function registers
…continued
* Indicates SFRs that are bit addressable.
Name Description SFR
addr.
Bit functions and addresses
MSB LSB

P89LV51RC2FBC,557

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