beautypg.com

Rainbow Electronics AT89C5132 User Manual

Page 34

background image

34

AT8xC5132

4173A–8051–08/02

Table 41. Serial I/O Port SFRs

Mnemonic

Add

Name

7

6

5

4

3

2

1

0

SCON

98h

Serial Control

FE/SM0

SM1

SM2

REN

TB8

RB8

TI

RI

SBUF

99h

Serial Data Buffer

SADEN

B9h

Slave Address Mask

SADDR

A9h

Slave Address

BDRCON

92h

Baud Rate Control

BRR

TBCK

RBCK

SPD

SRC

BRL

91h

Baud Rate Reload

Table 42. SPI Controller SFRs

Mnemonic

Add

Name

7

6

5

4

3

2

1

0

SPCON

C3h

SPI Control

SPR2

SPEN

SSDIS

MSTR

CPOL

CPHA

SPR1

SPR0

SPSTA

C4h

SPI Status

SPIF

WCOL

MODF

SPDAT

C5h

SPI Data

SPD7

SPD6

SPD5

SPD4

SPD3

SPD2

SPD1

SPD0

Table 43. Special Register

Mnemonic

Add

Name

7

6

5

4

3

2

1

0

SSCON

93h

Reserved

SSCR2

SSPE

SSSTA

SSSTO

SSI

SSAA

SSCR1 SSCR0

SSSTA

94h

Reserved

SSC4

SSC3

SSC2

SSC1

SSC0

0

0

0

SSDAT

95h

Reserved

SSD7

SSD6

SSD5

SSD4

SSD3

SSD2

SSD1

SSD0

SSADR

96h

Reserved

SSA7

SSA6

SSA5

SSA4

SSA3

SSA2

SSA1

SSGC

Table 44. Keyboard Interface SFRs

Mnemonic

Add

Name

7

6

5

4

3

2

1

0

KBCON

A3h

Keyboard Control

KINL3

KINL2

KINL1

KINL0

KINM3

KINM2

KINM1

KINM0

KBSTA

A4h

Keyboard Status

KPDE

KINF3

KINF2

KINF1

KINF0

Table 45. A/D Controller SFRs

Mnemonic

Add

Name

7

6

5

4

3

2

1

0

ADCON

F3h

ADC Control

ADIDL

ADEN

ADEOC

ADSST

ADCS

ADCLK

F2h

ADC Clock Divider

ADCD4

ADCD3

ADCD2

ADCD1

ADCD0

ADDL

F4h

ADC Data Low Byte

ADAT1

ADAT0

ADDH

F5h

ADC Data High Byte

ADAT9

ADAT8

ADAT7

ADAT6

ADAT5

ADAT4

ADAT3

ADAT2