English
Language : 

M16C26A Datasheet, PDF (154/352 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/26A Group (M16C/26A, M16C/26B, M16C/26T)
UARTi transmit/receive mode register (i = 0, 1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
U0MR, U1MR
Address
03A016, 03A816
After reset
0016
Bit
symbol
Bit name
Function
SMD0
SMD1
SMD2
Serial I/O mode select bit
(2)
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 value other than the above
CKDIR Internal/external clock
select bit
0 : Internal clock
1 : External clock (1)
STPS Stop bit length select bit 0 : One stop bit
1 : Two stop bits
PRY
PRYE
Odd/even parity select bit
Parity enable bit
Effective when PRYE = 1
0 : Odd parity
1 : Even parity
0 : Parity disabled
1 : Parity enabled
(b7) Reserve bit
Write to "0"
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 b1 b0
Symbol
U2MR
Address
037816
After reset
0016
Bit
symbol
Bit name
Function
SMD0
SMD1
SMD2
Serial I/O mode select bit
(2)
b2 b1 b0
0 0 0 : Serial I/O disabled
0 0 1 : Clock synchronous serial I/O mode
0 1 0 : I2C bus mode
(3)
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
Must not be set except above
CKDIR Internal/external clock
select bit
0 : Internal clock
1 : External clock (1)
STPS Stop bit length select bit 0 : One stop bit
1 : Two stop bits
PRY
PRYE
Odd/even parity select bit
Parity enable bit
Effective when PRYE = 1
0 : Odd parity
1 : Even parity
0 : Parity disabled
1 : Parity enabled
IOPOL TxD, RxD I/O polarity
reverse bit
0 : No reverse
1 : Reverse
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 SCL2 and SDA2 pins to “0” (input mode).
Figure 13.1.5. U0MR to U2MR registers
13. Serial I/O
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Rev. 2.00 Feb.15, 2007 page 137 of 329
REJ09B0202-0200