3 generic 80515 special function registers, Generic 80515 special function registers – Rainbow Electronics 71M6542G User Manual

Page 34

Advertising
background image

34

© 2008–2011 Teridian Semiconductor Corporation

v1.1

2.4.3 Generic 80515 Special Function Registers

Table 13

shows the location, description and reset or power-up value of the generic 80515 SFRs. Additional

descriptions of the registers can be found at the page numbers listed in the table.

Table 13: Generic 80515 SFRs - Location and Reset Values

Name

Address

(Hex)

Reset value

(Hex)

Description

Page

P0

0x80

0xFF

Port 0

36

SP

0x81

0x07

Stack Pointer

35

DPL

0x82

0x00

Data Pointer Low 0

35

DPH

0x83

0x00

Data Pointer High 0

35

DPL1

0x84

0x00

Data Pointer Low 1

35

DPH1

0x85

0x00

Data Pointer High 1

35

PCON

0x87

0x00

UART Speed Control

39

TCON

0x88

0x00

Timer/Counter Control

42

TMOD

0x89

0x00

Timer Mode Control

40

TL0

0x8A

0x00

Timer 0, low byte

39

TL1

0x8B

0x00

Timer 1, high byte

39

TH0

0x8C

0x00

Timer 0, low byte

39

TH1

0x8D

0x00

Timer 1, high byte

39

CKCON

0x8E

0x01

Clock Control (Stretch=1)

36

P1

0x90

0xFF

Port 1

36

DPS

0x92

0x00

Data Pointer select Register

32

S0CON

0x98

0x00

Serial Port 0, Control Register

38

S0BUF

0x99

0x00

Serial Port 0, Data Buffer

36

IEN2

0x9A

0x00

Interrupt Enable Register 2

42

S1CON

0x9B

0x00

Serial Port 1, Control Register

38

S1BUF

0x9C

0x00

Serial Port 1, Data Buffer

36

S1RELL

0x9D

0x00

Serial Port 1, Reload Register, low byte

36

P2

0xA0

0xFF

Port 2

36

IEN0

0xA8

0x00

Interrupt Enable Register 0

41

IP0

0xA9

0x00

Interrupt Priority Register 0

45

S0RELL

0xAA

0xD9

Serial Port 0, Reload Register, low byte

36

P3

0xB0

0xFF

Port 3

36

IEN1

0xB8

0x00

Interrupt Enable Register 1

41

IP1

0xB9

0x00

Interrupt Priority Register 1

45

S0RELH

0xBA

0x03

Serial Port 0, Reload Register, high byte

36

S1RELH

0xBB

0x03

Serial Port 1, Reload Register, high byte

36

PDATA

0xBF

0x00

High address byte for MOVX@Ri - also called USR2

32

IRCON

0xC0

0x00

Interrupt Request Control Register

42

T2CON

0xC8

0x00

Polarity for INT2 and INT3

42

PSW

0xD0

0x00

Program Status Word

35

WDCON

0xD8

0x00

Baud Rate Control Register (only WDCON[7] bit used)

36

A

0xE0

0x00

Accumulator

35

B

0xF0

0x00

B Register

35

Advertising