English
Language : 

M16C65 Datasheet, PDF (554/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
Table 23.12 lists Registers Used and Settings in UART Mode.
Table 23.12 Registers Used and Settings in UART Mode
Register
Bits
Function
UiTB
0 to 8
Set transmission data. (1), (3)
UiRB 0 to 8
Reception data can be read. (1)
OER, FER, PER, SUM Error flag
UiBRG 0 to 7
Set bit rate.
UiMR SMD2 to SMD0
Set to 100b when character bit length is 7 bits.
Set to 101b when character bit length is 8 bits.
Set to 110b when character bit length is 9 bits.
CKDIR
Select the internal clock or external clock.
STPS
Select number of stop bits.
PRY, PRYE
Select whether parity is included and whether odd or even.
IOPOL
Select the TXD/RXD input/output polarity.
UiC0
CLK0, CLK1
CRS
Select the count source for the UiBRG register.
If CTS or RTS is used, select which function to use.
TXEPT
CRD
Transmit register empty flag
Enable or disable the CTS or RTS function.
NCH
Select TXDi pin output mode. (2)
CKPOL
Set to 0.
UFORM
LSB first or MSB first can be selected when character bit length is 8 bits. Set to 0
when character bit length is 7 or 9 bits.
UiC1
TE
Set to 1 to enable transmission.
TI
Transmit buffer empty flag
RE
Set to 1 to enable reception.
RI
Reception complete flag
UjIRS
Select source of UARTj transmit interrupt.
UjRRM
Set to 0.
UiLCH
Set to 1 to use reversed data logic.
UiERE
Set to 0.
UiSMR 0 to 7
Set to 0.
UiSMR2 0 to 7
Set to 0.
UiSMR3 0 to 7
Set to 0.
UiSMR4 0 to 7
Set to 0.
UCON U0IRS
Select source of UART0 transmit interrupt.
U1IRS
Select source of UART1 transmit interrupt.
U0RRM
Set to 0.
U1RRM
Set to 0.
CLKMD0
Invalid because CLKMD1 is 0
CLKMD1
RCSP
Set to 0.
Set to 1 to input CTS0 signal of UART0 from the P6_4 pin.
7
Set to 0.
IFSR3A IFSR34
Set to 0 to use UART5 transmit interrupt.
IFSR36
Set to 0 to use UART6 transmit interrupt.
IFSR2A IFSR25
Set to 0 to use UART7 transmit interrupt.
i = 0 to 2, 5 to 7
j = 2, 5 to 7
Notes:
1. The bits used for transmit/receive data are as follows: Bits 0 to 6 when character bit length is 7 bits; bits 0 to
7 when character bit length is 8 bits; bits 0 to 8 when character bit length is 9 bits.
2. TXD2 pin is N channel open-drain output. Nothing is assigned in the NCH bit in the U2C0 register. If
necessary, set to 0.
3. The contents of bits 7 and 8 are undefined when character bit length is 7 bits.
The contents of bit 8 is undefined when character bit length is 8 bits.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 519 of 791