AT89C51RB2/RC2
Table 8. 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
B9h Slave Address Mask
A9h Slave Address
9Bh Baud Rate Control
9Ah Baud Rate Reload
SADEN
SADDR
BDRCON
BRL
BRR
TBCK
RBCK
SPD
SRC
Table 9. SPI Controller SFRs
Mnemonic
SPCON
SPSTA
Add Name
7
6
5
4
3
2
1
0
C3h SPI Control
C4h SPI Status
C5h SPI Data
SPR2
SPIF
SPD7
SPEN
WCOL
SPD6
SSDIS
SSERR
SPD5
MSTR
MODF
SPD4
CPOL
-
CPHA
-
SPR1
-
SPR0
-
SPDAT
SPD3
SPD2
SPD1
SPD0
Table 10. Keyboard Interface SFRs
Mnemonic
Add Name
7
6
5
4
3
2
1
0
KBLS
9Ch Keyboard Level Selector
9Dh Keyboard Input Enable
9Eh Keyboard Flag Register
KBLS7
KBE7
KBF7
KBLS6
KBE6
KBF6
KBLS5
KBE5
KBF5
KBLS4
KBE4
KBF4
KBLS3
KBE3
KBF3
KBLS2
KBE2
KBF2
KBLS1
KBE1
KBF1
KBLS0
KBE0
KBF0
KBE
KBF
7
4180E–8051–10/06