Uarti Transmit/Receive Control Register 0 (Uic0) (I = 0 To 2, 5 To 7) - Renesas M16C/64A Series User Manual

Table of Contents

Advertisement

M16C/64A Group
23.2.5

UARTi Transmit/Receive Control Register 0 (UiC0) (i = 0 to 2, 5 to 7)

UARTi Transmit/Receive Control Register 0 (i = 0 to 2, 5 to 7)
b7 b6 b5 b4
b3
b2
b1
CLK1 to CLK0 (UiBRG count source select bit) (b1-b0)
When bits CLK1 to CLK0 are 00b (f1SIO or f2SIO selected), select f1SIO or f2SIO by the PCLK1 bit in
the PCLKR register.
Set bits CLK1 to CLK0 after setting registers UCLKSEL0 and PCLKR.
If bits CLK1 to CLK0 are changed, set the UiBRG register.
CRS (CTS/RTS function select bit) (b2)
CTS1 / RTS1 can be used when the CLKMD1 bit in the UCON register is 0 (CLK output is only from
CLK1) and the RCSP bit in the UCON register is 0 ( CTS0 / RTS0 not separated).
CRD (CTS/RTS disable bit) (b4)
When the CRD bit is 1 ( CTS / RTS function disabled), the CTSi / RTSi pin can be used as an I/O port.
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
Symbol
b0
U0C0, U1C0, U2C0
U5C0, U6C0, U7C0
Bit Symbol
Bit Name
CLK0
UiBRG count source select
bit
CLK1
CRS
CTS/RTS function select bit
TXEPT
Transmit register empty flag
CRD
CTS/RTS disable bit
NCH
Data output select bit
CKPOL
CLK polarity select bit
UFORM
Bit order select bit
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
Address
024Ch, 025Ch, 026Ch
028Ch, 029Ch, 02ACh
Function
b1
b0
0
0 : f1SIO or f2SIO selected
0
1 : f8SIO selected
1
0 : f32SIO selected
1
1 : Do not set
Enabled when CRD is 0
0 : CTS function selected
1 : RTS function selected
0 : Data present in transmit register
(transmission in progress)
1 : No data present in transmit register
(transmission completed)
0 : CTS/RTS function enabled
1 : CTS/RTS function disabled
0 : Pins TXDi/SDAi and SCLi are CMOS
output
1 : Pins TXDi/SDAi and SCLi are N-channel
open drain output
0 : Transmit data is output at the falling
edge of transmit/receive clock and
receive data is input at the rising edge
1 : Transmit data is output at the rising
edge of transmit/receive clock and
receive data is input at the falling edge
0 : LSB first
1 : MSB first
Reset Value
0000 1000b
0000 1000b
RW
RW
RW
RW
RO
RW
RW
RW
RW
Page 458 of 800

Advertisement

Table of Contents
loading

Table of Contents