English
Language : 

M16C26 Datasheet, PDF (120/239 Pages) Renesas Technology Corp – 16-BIT CMOS SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
Udenvdeelropment
Serial I/O
Preliminary Specifications Rev. 0.9
Specifications in this manual are tentative and subject to change.
M16C/26 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
UART2 transmit/receive mode register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
U2MR
Address
0378 16
When reset
0016
Bit
symbol
Bit name
Function
(During clock synchronous
serial I/O mode)
SMD0
SMD1
SMD2
Serial I/O mode select bit
b2 b1 b0
0 0 0 : Serial I/O invalid
0 0 1 : Serial I/O
0 1 0 : I2C mode
011:
:
Must not be set
111:
Function
(During UART mode)
RW
b2 b1 b0
0 0 0 : Serial I/O invalid
1 0 0 : Transfer data 7 bits long
1 0 1 : Transfer data 8 bits long
1 1 0 : Transfer data 9 bits long
Except the above : Must not be set
CKDIR Internal/external clock
select bit
STPS Stop bit length select bit
0 : Internal clock
1 : External clock (Note 1)
Invalid
PRY Odd/even parity select bit Invalid
PRYE Parity enable bit
IOPOL TxD, RxD I/O polarity
reverse bit
Invalid
0 : No reverse
1 : Reverse
Usually set to 0
0 : Internal clock
1 : External clock (Note 1)
0 : One stop bit
1 : Two stop bits
Valid when bit 6 = 1
0 : Odd parity
1 : Even parity
0 : Parity disabled
1 : Parity enabled
0 : No reverse
1 : Reverse
Usually set to 0
UART2 transmit/receive control register 0
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
U2C0
Address
037C 16
When reset
0816
Bit
symbol
Bit name
BRG count source
CLK0 select bit
CLK1
Function
(During clock synchronous
serial I/O mode)
b1 b0
0 0 : f1SIO or f2SIO is selected
(Note 2)
0 1 : f8SIO is selected
1 0 : f32SIO is selected
1 1 : Must not be set.
Function
(During UART mode)
b1 b0
0 0 : f1SIO or f2SIO is selected
(Note 2)
0 1 : f8SIO is selected
1 0 : f32SIO is selected
1 1 : Must not be set.
RW
CRS
TXEPT
CTS/RTS function
select bit
Valid when bit 4 = "0"
Valid when bit 4 = "0"
0 : CTS function is selected (Note 1) 0 : CTS function is selected (Note 1)
1 : RTS function is selected (Note 3) 1 : RTS function is selected (Note 3)
Transmit register empty
flag
0 : Data present in transmit
register (during transmission)
1 : No data present in transmit
register (transmission
completed)
0 : Data present in transmit register
(during transmission)
1 : No data present in transmit
register (transmission completed)
CTS/RTS disable bit
CRD
0 : CTS/RTS function enabled
1 : CTS/RTS function disabled
(P60, P64 and P73 function)
as programmable I/O port
0 : CTS/RTS function enabled
1 : CTS/RTS function disabled
(P60, P64 and P73 function
as programmable I/O port)
Nothing is assigned.
In an attempt to write to this bit, write “0”. The value, if read, turns out to be “0”.
CKPOL CLK polarity select bit
0 : Transmit data is output at
falling edge of transfer clock
and receive data is input at
rising edge
1 : Transmit data is output at
rising edge of transfer clock
and receive data is input at
falling edge
UFORM Transfer format select bit 0 : LSB first
(Note 4)
1 : MSB first
Must always be "0"
0 : LSB first
1 : MSB first
Note 1: Set the corresponding port direction register to "0".
Note 2: Periperal clock select register bit PCLK1 is used to select between f1SIO and f2SIO.
Note 3: The settings of the corresponding port register and port direction register are invalid.
Note 4: Only clock synchronous serial I/O mode and 8-bit UART mode are valid.
Figure 1.15.6. Serial I/O-related registers (3)
114
Renesas Technology Corp.