Renesas M16C FAMILY series Hardware Manual page 190

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C
UARTi Transmit/receive Mode Register (i=0, 1)
b7
b6
b5
b4
b3
b2
NOTES:
1. Set the corresponding port direction bit for each CLKi pin to "0" (input mode).
2. To receive data, set the corresponding port direction bit for each RxDi pin to "0" (input mode).
UART2 Transmit/receive Mode Register
b7
b6
b5
b4
b3
b2
NOTES:
1. Set the corresponding port direction bit for each CLK2 pin to "0" (input mode).
2. To receive data, set the corresponding port direction bit for each RxD2 pin to "0" (input mode).
3. Set the corresponding port direction bit for SCL
Figure 14.5 U0MR to U2MR Registers
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
b1
b0
Symbol
Address
U0MR, U1MR
03A0
Bit
Bit Name
Symbol
SMD0
Serial I/O mode select bit
(2)
SMD1
SMD2
CKDIR
Internal/external clock
select bit
STPS
Stop bit length select bit
PRY
Odd/even parity select bit
PRYE
Parity enable bit
Reserve bit
(b7)
b1
b0
Symbol
Address
U2MR
0378
Bit
Bit Name
Symbol
SMD0
Serial I/O mode select bit
(2)
SMD1
SMD2
Internal/external clock
CKDIR
select bit
STPS
Stop bit length select bit
PRY
Odd/even parity select bit
PRYE
Parity enable bit
TxD, RxD I/O polarity
IOPOL
reverse bit
and SDA
2
page 170
f o
3
8
5
After Reset
, 03A8
00
16
16
16
b2 b1 b0
0 0 0 : Serial I/O disabled
0 0 1 : Clock synchronous serial I/O mode
1 0 0 : UART mode transfer data 7 bits long
1 0 1 : UART mode transfer data 8 bits long
1 1 0 : UART mode transfer data 9 bits long
Do not set the value other than the above
0 : Internal clock
(1)
1 : External clock
0 : One stop bit
1 : Two stop bits
Effective when PRYE = 1
0 : Odd parity
1 : Even parity
0 : Parity disabled
1 : Parity enabled
Set to "0"
After Reset
00
16
16
b2 b1 b0
0 0 0 : Serial I/O disabled
0 0 1 : Clock synchronous serial I/O mode
2
0 1 0 : I
C bus mode
1 0 0 : UART mode transfer data 7 bits long
1 0 1 : UART mode transfer data 8 bits long
1 1 0 : UART mode transfer data 9 bits long
Do not set the value other than the above
0 : Internal clock
(1)
1 : External clock
0 : One stop bit
1 : Two stop bits
Effective when PRYE = 1
0 : Odd parity
1 : Even parity
0 : Parity disabled
1 : Parity enabled
0 : No reverse
1 : Reverse
pins to "0" (input mode).
2
Function
Function
(3)
14.Serial I/O
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents