1 description, Table 3−1. sfr names and addresses – Texas Instruments MSC1210 User Manual

Page 38

Advertising
background image

Description

3-2

3.1

Description

The MSC1210 is a flexible microcontroller with a relatively large number of
modes of operation. Your program may inspect and/or change the operating
mode of the MSC1210 by manipulating the values of its SFRs.

SFRs are accessed as if they were normal internal RAM. The only difference
is that internal RAM is addressed in direct mode with addresses 00

H

through

7F

H

, whereas SFR registers are accessed in the range of 80

H

through FF

H

.

Each SFR has an address (80

H

−FF

H

) and a name. Table 3−1 provides a

graphical presentation of the 8052’s SFRs, their names, and their address.

Although the address range of 80

H

through FF

H

offers 128 possible address-

es, there are 24 addresses that are not assigned to an SFR, as shown in
Table 3−1.

Note:

Reading an unassigned SFR will get 00

H

, and writing to an unassigned SFR

is ignored.

Table 3−1. SFR Names and Addresses.

80

P0

SP

DPL0

DPH0

DPL1

DPH1

DPS

PCON

87

88

TCON

TMOD

TL0

TL1

TH0

TH1

CKCON

MWS

8F

90

P1

EXIF

MPAGE

CADDR

CDATA

MCON

97

98

SCON0

SBUF0

SPICON

SPIDATA

SPIRCON

SPITCON

SPISTART

SPIEND

9F

A0

P2

PWMCON

PWMLOW

PWMHI

PAI

AIE

AISTAT

A7

A8

IE

BPCON

BPL

BPH

P0DDRL

P0DDRH

P1DDRL

P1DDRH

AF

B0

P3

P2DDRL

P2DDRH

P3DDRL

P3DDRH

B7

B8

IP

BF

C0

SCON1

SBUF1

EWU

C7

C8

T2CON

RCAP2L

RCAP2H

TL2

TH2

CF

D0

PSW

OCL

OCM

OCH

GCL

GCM

GCH

ADMUX

D7

D8

EICON

ADRESL

ADRESM

ADRESH

ADCON0

ADCON1

ADCON2

ADCON3

DF

E0

ACC

SSCON

SUMR0

SUMR1

SUMR2

SUMR3

ODAC

LVDCON

E7

E8

EIE

HWPC0

HWPC1

HDWVER

Reserved

Reserved

FMCON

FTCON

EF

F0

B

PDCON

PASEL

ACLK

SRST

F7

F8

EIP

SECINT

MSINT

USEC

MSECL

MSECH

HMSEC

WDTCON

FF

Advertising