Texas Instruments MSC1210 manual 1. SFR Names and Addresses, SCON0

Models: MSC1210

1 324
Download 324 pages 20.97 Kb
Page 38
Image 38

Description

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 00H through 7FH, whereas SFR registers are accessed in the range of 80H through FFH.

Each SFR has an address (80H−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 80H through FFH 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 00H, 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

 

 

 

 

 

 

 

 

 

 

3-2

Page 38
Image 38
Texas Instruments MSC1210 manual 1. SFR Names and Addresses, SCON0