English
Language : 

M16C30P_07 Datasheet, PDF (141/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
15. Serial Interface
UARTi Transmit/Receive Control Register 0 (i=0 to 2)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
U0C0 to U2C0
03A4h, 03ACh, 037Ch
00001000b
Bit Symbol
Bit Name
Function
RW
BRG Count Source Select b1 b0
CLK0
Bit (5)
0 0 : f1SIO or f2SIO is selected(6)
RW
0 1 : f8SIO is selected
CLK1
1 0 : f32SIO is selected
RW
1 1 : Do not set to this value
_____ _____
CTS/RTS Function
Effective w hen CRD = 0
_____
CRS
Select Bit (4)
0 : CTS function is selected (1)
_____
RW
1 : RTS function is selected
Transmit Register Empty 0 : Data present in transmit register
Flag
TXEPT
(during transmission)
1 : No data present in transmit register
RO
CRD
_____ _____
CTS/RTS Disable Bit
(transmission completed)
_____ ____
0 : CTS/RTS function enabled
____ ____
1 : CTS/RTS function disabled
RW
(P6_0, P6_4 and P7_3 can be used as I/O ports)
Data Output Select Bit (2) 0 : TXDi/SDAi and SCLi pins are CMOS output
NCH
1 : TXDi/SDAi and SCLi pins are N-channel
open-drain output
RW
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 RW
clock and receive data is input at falling edge
Transfer Format Select 0 : LSB first
UFORM Bit (3)
1 : MSB first
RW
NOTES :
_____
1. Set the corresponding port direction bit for each CTSi pin to “0” (input mode).
2. TXD2/SDA2 and SCL2 are N-channel open-drain output. Cannot be set to the CMOS output. No NCH bit in U2C0
register is assigned. When w rite, set to “0”.
3. The UFORM bit is enabled w hen the SMD2 to SMD0 bits in the UiMR register are set to “001b” (clock synchronous
serial I/O mode), or “101b” (UART mode, 8-bit transfer data).
Set this bit to “1” w hen the SMD2 to SMD0 bits are set to “010b” (I2C mode), and to “0” w hen the SMD2 to SMD0 bits
are set to “100b” (UART mode, 7-bit transfer data) or “110b” (UART mode, 9-bit transfer data).
______ ______
4. CTS1/RTS1 can be used w hen the CLKMD1 bit in the UCON register = 0 (only CLK1 output) and the RCSP
______ ______
bit in the UCON register = 0 (CTS0/RTS0 not separated).
5. When changing the CLK1 to CLK0 bits, set the UiBRG register.
6. Selected by PCLK1 bit in the PCLKR register.
Figure 15.7 UiC0 to UiC2 Register
Rev.1.22 Mar 29, 2007 Page 125 of 291
REJ09B0179-0122