Special function registers – Rainbow Electronics AT89LP216 User Manual

Page 8

Advertising
background image

8

3621A–MICRO–6/06

AT89LP216 [Preliminary]

7.

Special Function Registers

A map of the on-chip memory area called the Special Function Register (SFR) space is shown in

Table 7-1

.

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 xx11 1111B when Tristate-Port Fuse is enabled and xx00 0000B when disabled.

Table 7-1.

AT89LP216 SFR Map and Reset Values

8

9

A

B

C

D

E

F

0F8H

0FFH

0F0H

B

0000 0000

0F7H

0E8H

SPSR

000x x000

SPCR

0000 0000

SPDR

xxxx xxxx

0EFH

0E0H

ACC

0000 0000

0E7H

0D8H

0DFH

0D0H

PSW

0000 0000

0D7H

0C8H

0CFH

0C0H

P1M0

(2)

P1M1

xx00 0000

P3M0

(2)

P3M1

xx00 0000

0C7H

0B8H

IP

x000 0000

SADEN

0000 0000

0BFH

0B0H

P3

xx11 1111

IPH

x000 0000

0B7H

0A8H

IE

0000 0000

SADDR

0000 0000

0AFH

0A0H

AUXR1

xxxx 0xxx

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

9FH

90H

P1

1111 1111

TCONB

0010 0100

RL0

0000 0000

RL1

0000 0000

RH0

0000 0000

RH1

0000 0000

ACSR

xx00 0000

97H

88H

TCON

0000 0000

TMOD

0000 0000

TL0

0000 0000

TL1

0000 0000

TH0

0000 0000

TH1

0000 0000

CLKREG

0000 x000

8FH

80H

SP

0000 0111

DPL

0000 0000

DPH

0000 0000

PCON

0000 0000

87H

0

1

2

3

4

5

6

7

Advertising