Mitsubishi DS907x SIP User Manual page 35

Mitsubishi microcontroller user's guide
Table of Contents

Advertisement

SERIAL CONTROL REGISTER
Label:SCON
D7
D6
SM0
SM1
Bit Description:
SCON.7, SCON.6:
"Mode Select":
SM0
SM1
MODE
0
0
Mode 0
0
1
Mode 1
1
0
Mode 2
1
1
Mode 3
Initialization:
SCON.5:
"Multiple MCU Comm":
Initialization:
SCON.4:
"Receive Enable":
Initialization:
SCON.3:
"Xmit Bit 8":
Initialization:
SCON.2:
"Rec. Bit 8":
Initialization:
SCON.1:
"Xmit Interrupt":
D5
D4
SM2
REN
SM0, SM1
Used to select the operational mode of the serial I/O port as follows:
WORD FUNCTION
SYNC
ASYNC
ASYNC
ASYNC
Cleared to 0 on any type of reset.
SM2
Used to enable the multiple microcontroller communications feature for
modes 2 and 3. When SM2=1, RI will be activated only when serial words
are received which cause RB8 to be set to a 1.
Cleared to a 0 on any type of reset.
REN
When set to 1, the receive shift register will be enabled. Disabled when
cleared to 0.
Cleared to a 0 on any type of reset.
TB8
Can be set or cleared to define the state of the 9th data bit in modes 2 and 3 of
a serial data word.
Cleared to a 0 on any type of reset.
RB8
Indicates the state of the 9th data bit received while in modes, 2 or 3. If mode
1 is selected with SM2=0, RB8 is the state of the stop bit which was received.
RB8 is not used in mode 0.
Cleared to a 0 on any type of reset.
TI
Status bit used to signal that a data word has been completely shifted out. In
mode 0, it is set at the end of the 8th data bit. Set when the stop bit is trans-
mitted in all other modes.
Register Address: 098H
D3
D2
TB8
RB8
BAUD LENGTH
8–bits
10–bits
11–bits
11–bits
35
USER'S GUIDE
D1
D0
TI
RI
CLOCK PERIOD
12 t
CLK
Timer 1 Overflow
64 t
or 32 t
CLK
CLK
Timer 1 Overflow
050396 34/173

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds5000tkDs5000fpDs5001fpDs5002fp

Table of Contents