Specifications

22
3706C–MICRO–2/11
AT89LP3240/6440
4. Special Function Registers
A map of the on-chip memory area called the Special Function Register (SFR) space is shown in
Table 4-1. See also “Register Index” on page 153.
Note that not all of the addresses are occupied, and unoccupied addresses may not be imple-
mented on the chip. Read accesses to these addresses will in general return random data,
and
write accesses will have an indeterminate effect. User software should not write to these unlisted
locations, since they may be used in future products to invoke new features.
Notes:1.All SFRs in the left-most column are bit-addressable.
2. Reset value is 1111 1111B when Tristate-Port Fuse is enabled and 0000 0000B when disabled.
Table 4-1. AT89LP3240/6440 SFR Map and Reset Values
8 9ABCDEF
0F8H 0FFH
0F0H
B
0000 0000
BX
0000 0000
0F7H
0E8H
SPSR
000x x000
SPCR
0000 0000
SPDR
xxxx xxxx
0EFH
0E0H
ACC
0000 0000
AX
0000 0000
DSPR
0000 0000
FIRD
0000 0000
MACL
0000 0000
MACH
0000 0000
0E7H
0D8H
DADC
0000 0000
DADI
0000 0000
DADL
0000 0000
DADH
0000 0000
0DFH
0D0H
PSW
0000 0000
T2CCA
0000 0000
T2CCL
0000 0000
T2CCH
0000 0000
T2CCC
0000 0000
T2CCF
0000 0000
0D7H
0C8HT2CON
0000 0000
T2MOD
0000 0000
RCAP2L
0000 000
RCAP2H
0000 0000
TL2
0000 000
TH2
0000 0000
0CFH
0C0H
P4
xx11 1111
P1M0
(2)
P1M1
0000 0000
P2M0
(2)
P2M1
0000 0000
P3M0
(2)
P3M1
0000 0000
0C7H
0B8H
IP
0000 0000
SADEN
0000 0000
P0M0
1111 1111
P0M1
0000 0000
P4M0
(2)
P4M1
xx00 0000
0BFH
0B0H
P3
1111 1111
IE2
xxxx x000
IP2
xxxx x000
IP2H
xxxx x000
IPH
0000 0000
0B7H
0A8H
IE
0000 0000
SADDR
0000 0000
TWCR
0000 0000
TWSR
0000 0000
TWAR
0000 0000
TWDR
0000 0000
TWBR
0000 0000
AREF
0000 0000
0AFH
0A0H P2
1111 1111
DPCF
0000 00x0
WDTRST
(write-only)
WDTCON
0000 x000
0A7H
98H
SCON
0000 0000
SBUF
xxxx xxxx
GPMOD
0000 0000
GPLS
0000 0000
GPIEN
0000 0000
GPIF
0000 0000
SPX
xxxx 0000
ACSRB
1100 0000
9FH
90H
P1
1111 1111
TCONB
0010 0100
RL0
0000 0000
RL1
0000 0000
RH0
0000 0000
RH1
0000 0000
MEMCON
0000 00xx
ACSRA
0000 0000
97H
88H
TCON
0000 0000
TMOD
0000 0000
TL0
0000 0000
TL1
0000 0000
TH0
0000 0000
TH1
0000 0000
AUXR
0000 0000
CLKREG
0000 x000
8FH
80H
SP
0000 0111
DP0L
0000 0000
DP0H
0000 0000
DP1L
0000 0000
DP1H
0000 0000
PAG E
0000 0000
PCON
0000 0000
87H
01234567