Renesas M16C/62P Hardware Manual page 185

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
_______ _______
17.1.1.7 CTS/RTS Function
_______
When the CTS function is used transmit and receive operation start when "L" is applied to the CTSi/
________
RTSi (i=0 to 2) pin. Transmit and receive operation begins when the CTSi/RTSi pin is held "L". If the
"L" signal is switched to "H" during a transmit or receive operation, the operation stops before the next
data.
_______
When the RTS function is used, the CTSi/RTSi pin outputs on "L" signal when the microcomputer is
ready to receive. The output level becomes "H" on the first falling edge of the CLKi pin.
• CRD bit in UiC0 register = 1 ( CTS/RTS function disabled)
• CRD bit = 0, CRS bit = 0 (CTS function is selected)
• CRD bit = 0, CRS bit = 1 (RTS function is selected)
_______ _______
17.1.1.8 CTS/RTS Separate Function (UART0)
This function separates CTS0/RTS0, outputs RTS0 from the P6_0 pin, and accepts as input the CTS0
from the P6_4 pin. To use this function, set the register bits as shown below.
• CRD bit in U0C0 register = 0 (enable CTS/RTS of UART0)
• CRS bit in U0C0 register = 1 (output RTS of UART0)
• CRD bit in U1C0 register = 0 (enable CTS/RTS of UART1)
• CRS bit in U1C0 register = 0 (input CTS of UART1)
• RCSP bit in UCON register = 1 (inputs CTS0 from the P6_4 pin)
• CLKMD1 bit in UCON register = 0 (CLKS1 not used)
Note that when using the CTS/RTS separate function, CTS/RTS of UART1 s
eparate function cannot be used.
Microcomputer
_______ _______
Figure 17.14 CTS/RTS Separate Function
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
________ ________
_______ _______
_______
_______
_______
_______
_______ _______
TXD0 (P6_3)
RXD0 (P6_2)
CLK0 (P6_1)
RTS0 (P6_0)
CTS0 (P6_4)
page 171
f o
3
6
4
________ ________
CTSi/RTSi pin is programmable I/O function
________ ________
CTSi/RTSi pin is CTS function
________ ________
CTSi/RTSi pin is RTS function
_______
_______ _______
_______
_______ _______
_______
_______
_______ _______
IN
OUT
CLK
CTS
RTS
________ ________
_______
_______
IC
17. Serial I/O
________
_______

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents