T89C51RD2-3CBC-L ATMEL [ATMEL Corporation], T89C51RD2-3CBC-L Datasheet - Page 35

no-image

T89C51RD2-3CBC-L

Manufacturer Part Number
T89C51RD2-3CBC-L
Description
0 to 40MHz Flash Programmable 8-bit Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
T89C51RD2
SCON - Serial Control Register (98h)
Reset Value = 0000 0000b
Bit addressable
35
Number
FE/SM0
Bit
7
6
5
4
3
2
1
0
7
Mnemonic
SM0
SM1
SM2
REN
RB8
TB8
Bit
FE
TI
RI
SM1
6
Framing Error bit (SMOD0=1)
Serial port Mode bit 0
Serial port Mode bit 1
Reception Enable bit
Transmitter Bit 8 / Ninth bit to transmit in modes 2 and 3.
Receiver Bit 8 / Ninth bit received in modes 2 and 3
Transmit Interrupt flag
modes.
Receive Interrupt flag
Serial port Mode 2 bit / Multiprocessor Communication Enable bit
SMOD0 must be set to enable access to the FE bit
SMOD0 must be cleared to enable access to the SM0 bit
Clear to reset the error state, not cleared by a valid stop bit.
Set by hardware when an invalid stop bit is detected.
Refer to SM1 for serial port mode selection.
SM0 SM1 Mode
Clear to disable multiprocessor communication feature.
Set to enable multiprocessor communication feature in mode 2 and 3, and eventually mode 1. This bit should
be cleared in mode 0.
Clear to disable serial reception.
Set to enable serial reception.
Clear to transmit a logic 0 in the 9th bit.
Set to transmit a logic 1 in the 9th bit.
Cleared by hardware if 9th bit received is a logic 0.
Set by hardware if 9th bit received is a logic 1.
In mode 1, if SM2 = 0, RB8 is the received stop bit. In mode 0 RB8 is not used.
Clear to acknowledge interrupt.
Set by hardware at the end of the 8th bit time in mode 0 or at the beginning of the stop bit in the other
Clear to acknowledge interrupt.
Set by hardware at the end of the 8th bit time in mode 0, see Figure 14. and Figure 15. in the other modes.
0
0
1
1
SM2
0
1
0
1
5
0
1
2
3
REN
4
Shift Register F
8-bit UART
9-bit UART
9-bit UART
Description
TB8
3
Baud Rate
Variable
F
Variable
Description
XTAL
XTAL
/12 (/6 in X2 mode)
/64 or F
XTAL
RB8
2
/32 (/32 or 16 in X2 mode)
Rev. F - 15 February, 2001
TI
1
RI
0

Related parts for T89C51RD2-3CBC-L