DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AT89C51RC2-3CSCM(2003) 查看數據表(PDF) - Atmel Corporation

零件编号
产品描述 (功能)
生产厂家
AT89C51RC2-3CSCM
(Rev.:2003)
Atmel
Atmel Corporation 
AT89C51RC2-3CSCM Datasheet PDF : 125 Pages
First Prev 41 42 43 44 45 46 47 48 49 50 Next Last
4180B805104/03
AT89C51RB2/RC2
Table 33. SCON Register
SCON - Serial Control Register (98h)
7
6
5
4
3
2
1
0
FE/SM0
SM1
SM2
REN
TB8
RB8
TI
RI
Bit
Number
7
6
5
4
3
2
1
0
Bit
Mnemonic Description
Framing Error bit (SMOD0 = 1)
FE
Clear to reset the error state, not cleared by a valid stop bit.
Set by hardware when an invalid stop bit is detected.
SMOD0 must be set to enable access to the FE bit.
SM0
Serial Port Mode bit 0
see SM1 for serial port mode selection.
SMOD0 must be cleared to enable access to the SM0 bit.
SM1
Serial Port Mode bit 1
SM0 SM1 Mode Description
0
0
0
Shift Register
0
1
1
8-bit UART
1
0
2
9-bit UART
1
1
3
9-bit UART
Baud Rate
FCPU PERIPH/6
Variable
FCPU PERIPH /32 or /16
Variable
SM2
Serial Port Mode 2 bit/Multiprocessor Communication Enable bit
Clear to disable multiprocessor communication feature.
Set to enable multiprocessor communication feature in modes 2 and 3,
and eventually mode 1.This bit should be cleared in mode 0.
REN
Reception Enable bit
Clear to disable serial reception.
Set to enable serial reception.
Transmitter Bit 8/Ninth bit to Transmit in Modes 2 and 3
TB8
Clear to transmit a logic 0 in the 9th bit.
Set to transmit a logic 1 in the 9th bit.
Receiver Bit 8/Ninth bit received in Modes 2 and 3
Cleared by hardware if 9th bit received is a logic 0.
RB8
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.
Transmit Interrupt flag
TI
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 modes.
Receive Interrupt flag
RI
Clear to acknowledge interrupt.
Set by hardware at the end of the 8th bit time in mode 0, see Figure 17.
and Figure 18 in the other modes.
Reset Value = 0000 0000b
Bit addressable
47

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]