English
Language : 

DS80C320-MCG Datasheet, PDF (142/175 Pages) Dallas Semiconductor – High-Speed Microcontroller User Guide
SCON1.1
SCON1.0
High-Speed Microcontroller User’s Guide
TI_1 - Flag that indicates the transmitted word has been completely
shifted out. In mode 0, TI is set at the end of the eighth data bit. In
all other modes, this bit is set at the end of the last data bit. It must
be cleared manually by software.
RI_1 - Flag that indicates a serial word has been received. In mode
0, RI_1 is set at the end of the eighth bit. In mode 1, it is set after the
last sample of the incoming stop bit subject to the state of SM2_1.
In modes 2 and 3, RI_1 is set after the last sample of RB8_1. It must
be cleared manually by software.
SM0 SM1 Mode Function Length Period
0
0
0
Sync
8 bits 4/12 tCLK
(see SM2)
0
1
1
Asynch 10 bits Timer 1
1
0
2
Asynch 11 bits 64/32 tCLK
1
1
3
Asynch 11 bits Timer 1
Initialization:
Read/Write Access:
POWER CONTROL
PCON.7
PCON.6
WATCHDOG CONTROL
WDCON.7
TIMER TWO CONTROL
T2CON.5
SCON1 is set to 00h on a reset.
Unrestricted.
PCON; 87h
SMOD_0. - Doubles the serial baud rate in modes 1, 2, and 3 for
Serial Port 0 (the standard port) when SMOD = 1.
SMOD0 - Framing Error Detection Enable. When SMOD0 is set to a one,
SCON0.7 and SCON1.7 are converted to the FE flag for the respective serial port.
When SMOD0 is 0, then SCON0.7 and SCON1.7 are the SM0 function as
defined for the serial port.
WDCON; D8h
SMOD_1 - Serial Modification. When set to a logic 1, this bit
doubles the baud rate of Serial Port 1. It works identically to
PCON.7.
T2CON; C8h
RCLK - Receive Clock Flag. This bit determines whether Timer 1
or 2 is used for Serial Port 0 timing of received data in Serial Modes
1 or 3. RCLK = 1 causes Timer 2 overflow to be used as the receive
clock. RCLK = 0 causes Timer 1 overflow to be used as the receive
clock.
142 of 175