Renesas M16C/64A Series User Manual page 511

Table of Contents

Advertisement

M16C/64A Group
Table 23.10 lists I/O Pin Functions in UART Mode. Table 23.11 lists the P6_4 Pin Functions in UART
Mode. Note that for a period from when the UARTi operating mode is selected to when transmission
starts, the TXDi pin outputs a high-level signal. (If N-channel open drain output is selected, this pin
becomes high-impedance.)
Table 23.10
I/O Pin Functions in UART Mode
Pin Name
I/O
TXDi
Output
RXDi
Input
Input
I/O
CLKi
Input
Input
CTSi / RTSi
Output
I/O
i = 0 to 2, 5 to 7
Table 23.11
P6_4 Pin Functions in UART Mode
Pin Function
P6_4
CTS1
RTS1
CTS0
(1)
− indicates either 0 or 1.
Note:
In addition to these settings, set the CRD bit in the U0C0 register to 0 ( CTS0 / RTS0 enabled)
1.
and the CRS bit in the U0C0 register to 1 ( RTS0 selected).
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
Function
Serial data output
(High-level output only when receiving.)
Serial data input
Set the port direction bit sharing pin to 0.
Set the port direction bit sharing pin to 0. (can be used as
Input port
an input port only when transmitting.)
Input/output port
The CKDIR bit in the UiMR register = 0
Transmit/receive
The CKDIR bit in the UiMR register = 1
clock input
Set the port direction bit sharing pin to 0.
The CRD bit in the UiC0 register = 0
CTS input
The CRS bit in the UiC0 register = 0
Set the port direction bit sharing pin to 0.
The CRD bit in the UiC0 register = 0
RTS output
The CRS bit in the UiC0 register = 1
I/O port
The CRD bit in the UiC0 register = 1
U1C0 register
CRD
CRS
1
-
0
0
0
1
0
0
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
Method of Selection
Bit Set Value
UCON register
RCSP
CLKMD1
0
0
0
0
0
0
1
0
PD6 register
PD6_4
Input: 0, Output: 1
0
-
0
Page 478 of 800

Advertisement

Table of Contents
loading

Table of Contents