English
Language : 

SDA5250 Datasheet, PDF (92/143 Pages) Siemens Semiconductor Group – TVTEXT 8-Bit Microcontroller
SDA 525x
Serial Port Control Register SCON
Serial Port Control Register
Default after reset: 00H
(MSB)
SM0
SM1
SM2
SCON
REN
TB8
RB8
SFR-Address 98H
(LSB)
TI
RI
SM0
SM1
SM2
REN
TB8
RB8
TI
RI
Serial Port Mode Selection, see Table 22.
Enables the multiprocessor communication feature in
modes 2 and 3. In mode 2 or 3, if SM2 is set to 1 then RI will
not be activated if the received 9th data bit (RB8) is 0. In
mode 1, if SM2 = 1 then RI will not be activated if a valid stop
bit was not received. In mode 0, SM2 should be 0.
Enables serial reception. Set by software to enable reception.
Cleared by software to disable reception.
Is the 9th data bit that will be transmitted in modes 2 and 3. Set
or cleared by software as desired.
In modes 2 and 3, is the 9th data bit that was received. In
mode 1, if SM2 = 0, RB8 is the stop bit that was received. In
mode 0, RB8 is not used.
Is the transmit interrupt flag. 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, in any serial transmission. Must be cleared by
software.
Is the receive interrupt flag. Set by hardware at the end of the
8th bit time in mode 0, or halfway through stop bit time in the
other modes, in any serial reception. Must be cleared by
software.
Semiconductor Group
92
1998-04-08