
12
12-18
32170/32174 Group User's Manual (Rev. 2.1)
SERIAL I/O
12.2 Serial I/O Related Registers
D8
9
101112
1314
D15
SMOD
CKS
STB
PSEL
PEN
SEN
<When reset : 00>
D
Bit Name
Function
R
W
8 - 10
SMOD
D8 D9 D10
(Serial I/O mode select bit)
0
0 : 7-bit UART
(Note 1)
0
1 : 8-bit UART
0
1
X : 9-bit UART
1
X
X : 8-bit clock-synchronized serial I/O
11
CKS
0 : Internal clock
(Internal/external clock select bit)
1 : External clock
(Note 2)
12
STB (Stop bit length select bit,
0 : One stop bit
UART mode only)
1 : Two stop bits
(Note 3)
13
PSEL (Parity odd/even select bit,
0 : Odd parity
UART mode only)
1 : Even parity
(Note 3)
14
PEN (Parity enable bit,
0 : Disables parity
UART mode only)
1 : Enables parity
(Note 3)
15
SEN (Sleep select bit,
0 : Disables sleep function
UART mode only)
1 : Enables sleep function
(Note 3)
Note 1: For SIO2 and 3, the D8 bit is fixed to 0 in hardware. You cannot set the D8 bit to 1 (to choose clock-
synchronous serial I/O).
Note 2: Has no effect when UART mode is selected.
Note 3: D12 to D15 have no effect during clock-synchronous mode.
12.2.4 SIO Transmit/Receive Mode Registers
s SIO0 Mode Register (S0MOD)
<Address: H'0080 0111>
s SIO1 Mode Register (S1MOD)
<Address: H'0080 0121>
s SIO2 Mode Register (S2MOD)
<Address: H'0080 0131>
s SIO3 Mode Register (S3MOD)
<Address: H'0080 0141>
s SIO4 Mode Register (S4MOD)
<Address: H'0080 0A11>
s SIO5 Mode Register (S5MOD)
<Address: H'0080 0A21>