P89LPC980 NXP [NXP Semiconductors], P89LPC980 Datasheet - Page 21

no-image

P89LPC980

Manufacturer Part Number
P89LPC980
Description
8-bit microcontroller with accelerated two-clock 80C51 core, 4 kB/8 kB wide-voltage byte-erasable flash with 10-bit ADC
Manufacturer
NXP [NXP Semiconductors]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC980FDH
Manufacturer:
NXP
Quantity:
9 600
Part Number:
P89LPC980FDH
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Table 4.
* indicates SFRs that are bit addressable.
[1]
[2]
[3]
[4]
[5]
[6]
Table 5.
Name
TL4
TINTF
TRIM
WDCON
WDL
WFEED1
WFEED2
Name
BODCFG
CLKCON
BRGR1 and BRGR0 must only be written if BRGEN in BRGCON SFR is logic 0. If any are written while BRGEN = 1, the result is unpredictable.
All ports are in input only (high-impedance) state after power-up.
The RSTSRC register reflects the cause of the P89LPC980/982/983/985 reset except BOIF bit. Upon a power-up reset, all reset source flags are cleared except POF and BOF;
the power-on reset value is x011 0000.
The only reset sources that affect these SFRs are power-on reset and watchdog reset.
On power-on reset and watchdog reset, the TRIM SFR is initialized with a factory preprogrammed value. Other resets will not cause initialization of the TRIM register.
After reset, the value is 1110 01x1, i.e., PRE2 to PRE0 are all logic 1, WDRUN = 1 and WDCLK = 1. WDTOF bit is logic 1 after watchdog reset and is logic 0 after power-on reset.
Other resets will not affect WDTOF.
Special function registers - P89LPC980/982
Extended special function registers - P89LPC980/982
Description
BOD
configuration
register
CLOCK Control
register
Description
Timer/Counter 4
Low Byte
Timer/Counters
2/3/4 Overflow
and External
Flags
Internal oscillator
trim register
Watchdog control
register
Watchdog load
Watchdog feed 1
Watchdog feed 2
SFR
addr.
FFDEH
FFC8H
addr.
CBH
CEH
SFR
A7H
C1H
C2H
C3H
96H
Bit functions and addresses
Bit functions and addresses
CLKOK
RCCLK
MSB
PRE2
MSB
-
-
ENCLK
PRE1
-
-
…continued
-
WDMOD
TRIM.5
[1]
PRE0
TF4
-
XTALWD
TRIM.4
EXF4
-
-
CLKDBL
TRIM.3
-
TF3
-
BOICFG2 BOICFG1 BOICFG0
FOSC2
WDRUN
TRIM.2
EXF3
FOSC1
WDTOF
TRIM.1
TF2
FOSC0
LSB
WDCLK
TRIM.0
EXF2
LSB
Reset value
Hex
[2]
[3]
00
Reset value
Hex
00
[4][5]
[4][6]
FF
Binary
0000 0000
0000 0000
1111 1111
Binary
1000 xxxx

Related parts for P89LPC980