R01UH0136EJ0210 Rev.2.10
Page 470 of 800
Jul 31, 2012
M16C/64A Group
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
Table 23.6 lists Pin Functions in Clock Synchronous Serial I/O Mode (Multiple Transmit/Receive Clock
Output Pin Function Not Selected). Table 23.7 lists P6_4 Pin Functions in Clock Synchronous Serial I/O
Mode.
Note that for a period from when 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 is high-
impedance.)
Table 23.6
Pin Functions in Clock Synchronous Serial I/O Mode (Multiple Transmit/Receive Clock
Output Pin Function Not Selected)
Pin Name
I/O
Function
Method of Selection
TXDi
Output
Serial data output
(Outputs dummy data only when receiving)
RXDi
Input
Serial data input
Set the port direction bit sharing pin to 0.
Input
Input port
Set the port direction bit sharing pin to 0. (can be used as
an input port only when transmitting)
CLKi
Output
Transmit/receive
clock output
The CKDIR bit in the UiMR register = 0
Input
Transmit/receive
clock input
The CKDIR bit in the UiMR register = 1
Set the port direction bit sharing pin to 0.
CTSi
/
RTSi
Input
CTS
input
The CRD bit in the UiC0 register = 0
The CRS bit in the UiC0 register = 0
Set the port direction bit sharing pin to 0.
Output
RTS
output
The CRD bit in the UiC0 register = 0
The CRS bit in the UiC0 register = 1
I/O
I/O port
The CRD bit in the UiC0 register = 1
i = 0 to 2, 5 to 7
Table 23.7
P6_4 Pin Functions in Clock Synchronous Serial I/O Mode
Pin Function
Bit Set Value
U1C0 register
UCON register
PD6 register
CRD
CRS
RCSP
CLKMD1
CLKMD0
PD6_4
P6_4
1
-
0
0
-
Input: 0, Output: 1
CTS1
0
0
0
0
-
0
RTS1
0
1
0
0
-
-
CTS0
(1)
0
0
1
0
-
0
CLKS1
-
-
-
1
(2)
1
-
- indicates either 0 or 1
Notes:
1.
In addition to these settings, set the CRD bit in the U0C0 register to 0 (
CTS0
/
RTS0
enabled)
and the CRS bit in the U0C0 register to 1 (
RTS0
selected).
2.
When the CLKMD1 bit is 1 and the CLKMD0 bit is 0, the following logic levels are output:
•
High if the CLKPOL bit in the U1C0 register is 0
•
Low if the CLKPOL bit in the U1C0 register is 1
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...