Serial Mode Control Register 1 (Smc1) - Fujitsu Semiconductor Controller MB89950/950A Hardware Manual

F2mc-8l 8-bit microcontroller
Table of Contents

Advertisement

10.4.1

Serial Mode Control Register 1 (SMC1)

Serial mode control register 1 (SMC1) sets synchronous mode, stop bit length, data
length, parity/non-parity and select the port function of SCK and SO.
I Serial mode control register 1 (SMC1)
Address
Bit 7
0020
PEN
H
R/W
R/W : Readable and writable
: Initial value
: Unused
Figure 10.4-2 Serial mode control register 1 (SMC1)
Bit 6
Bit 5
Bit 4
Bit 3
SBL
MC1
MC0
SMDE
R/W
R/W
R/W
R/W
Bit 2
Bit 1
Bit 0
Initial value
SCKE
SOE
00000-00
R/W
R/W
SOE
Serial output enable bit
0
Functions as general-purpose I/O port (P44)
1
Functions as serial output (SO)
SCKE
Serial clock enable bit
Functions as general-purpose I/O port (P45).
0
When the port is set to input (DDR4:bit5 =0),
it also functions as serial clock input pin.
1
Functions as serial clock (SCK)
SMDE
Operation mode control bit
0
Synchronous transfer
1
Asynchronous transfer
Transfer mode control bits
MC1
MC0
0
0
0
1
1
0
1
1
Value in parantheses is initial value and indicates the
data length with parity.
SBL
Stop bit length control bit
0
1
Parity control bit
PEN
0
1
Parity (odd/even selected by TD8/TP bit)
CHAPTER 10 UART
B
Mode
Data length
0
5(4)
1
8(7)
Reserved
9(8)
3
2-bit length
1-bit length
Non-parity
205

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb89950 seriesMb89950a series

Table of Contents