Sio Transmit/Receive Mode Registers - Mitsubishi Electric M32R Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

12

12.2.4 SIO Transmit/Receive Mode Registers

SIO0 Mode Register (S0MOD)
SIO1 Mode Register (S1MOD)
SIO2 Mode Register (S2MOD)
SIO3 Mode Register (S3MOD)
SIO4 Mode Register (S4MOD)
SIO5 Mode Register (S5MOD)
D8
D
Bit Name
8 - 10
SMOD
(Serial I/O mode select bit)
(Note 1)
11
CKS
(Internal/external clock select bit)
12
STB (Stop bit length select bit,
UART mode only)
13
PSEL (Parity odd/even select bit,
UART mode only)
14
PEN (Parity enable bit,
UART mode only)
15
SEN (Sleep select bit,
UART mode only)
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.
9
10
11
SMOD
CKS
Function
D8 D9 D10
0
0
0
1
0 : Internal clock
1 : External clock
0 : One stop bit
1 : Two stop bits
0 : Odd parity
1 : Even parity
0 : Disables parity
1 : Enables parity
0 : Disables sleep function
1 : Enables sleep function
12-18
12.2 Serial I/O Related Registers
12
13
STB
PSEL
0
0 : 7-bit UART
0
1 : 8-bit UART
1
X : 9-bit UART
X
X : 8-bit clock-synchronized serial I/O
SERIAL I/O
<Address: H'0080 0111>
<Address: H'0080 0121>
<Address: H'0080 0131>
<Address: H'0080 0141>
<Address: H'0080 0A11>
<Address: H'0080 0A21>
14
D15
PEN
SEN
<When reset : 00>
R
(Note 2)
(Note 3)
(Note 3)
(Note 3)
(Note 3)
Ver.0.10
W

Advertisement

Table of Contents
loading

Table of Contents