Special function registers – Rainbow Electronics W79E8213R User Manual

Page 14

Advertising
background image

Preliminary W79E8213/W79E8213R Data Sheet

Publication Release Date: July 11, 2008

- 14 -

Revision A2

8. SPECIAL FUNCTION REGISTERS

The W79E8213 series uses Special Function Registers (SFRs) to control and monitor peripherals and
their Modes. The SFRs reside in the register locations 80-FFh and are accessed by direct addressing
only. Some of the SFRs are bit addressable. This is very useful in cases where users wish to modify a
particular bit without changing the others. The SFRs that are bit addressable are those whose
addresses end in 0 or 8. The W79E8213 series contain all the SFRs present in the standard 8052.
However some additional SFRs are added. In some cases the unused bits in the original 8052, have
been given new functions. The list of the SFRs is as follows.

F8

IP1 BUZCON

F0

B

PADIDS

IP1H

E8

EIE

E0

ACC ADCCON ADCH

ADCCON1

D8

WDCON PWMPL PWM0L PWM1L PWMCON1

PWM2L

PWM3L PWMCON2

D0

PSW PWMPH

PWM0H

PWM1H

PWM2H

PWM3H PWMCON3

C8

NVMCON

NVMDATA

C0

NVMADDRL

TA

B8

IP0

B0

P0M1

P0M2

P1M1

P1M2

P2M1

P2M2

IP0H

A8

IE

A0

P2

AUXR1

EDIC

98

90

P1

88

TCON TMOD TL0

TL1

TH0

TH1 CKCON

80

P0 SP DPL

DPH

PCON

Table 8-1: Special Function Register Location Table

Note: 1. The SFRs in the column with dark borders are bit-addressable

2. The table is condensed with eight locations per row. Empty locations indicate that these are no registers at these

addresses. When a bit or register is not implemented, it will read high.

Advertising