Serial Port Registers - Oki ML63611 User Manual

Table of Contents

Advertisement

12.3

Serial Port Registers

(1) Send control registers 0/1 (STCON0, STCON1)
STCON0 and STCON1 are 4-bit special function registers (SFRs) to control the serial port send operation.
STCON0 and STCON1 are initialized to "0" at system reset.
STCON0 (0A6H)
Stop bit length select
0: 1 stop bit (initial value)
1: 2 stop bits
Send data length select
bit 2 bit 1 Data length
0
0 : 5 bits (initial value)
0
1 : 6 bits
1
0 : 7 bits
1
1 : 8 bits
Send mode select
0 : UART mode (initial value)
1 : Synchronous mode
bit 3: STSTB (Serial Transmission STop Bit)
This bit specifies stop bit length. Valid only when bit 0 is "0" (UART mode).
bit 2, 1: STL1 (Serial Transmission Length select bit 1),
STL0 (Serial Transmission Length select bit 0)
These bits specify the send data length.
bit 0: STMOD (Serial Transmission MODe bit)
This bit specifies the serial port send operation mode.
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
bit 3
STSTB
(R/W)
bit 2
bit 1
STL1
STL0
12 – 3
OPTION B (D): 1.5 V (3.0 V), With regulator
ML63611 User's Manual
Chapter 12 Serial Port (SIO)
bit 0
STMOD
circuit for LCD bias

Advertisement

Table of Contents
loading

Table of Contents