Renesas M16C/62P Series Hardware Manual page 219

6-bit single-chip microcomputer
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
17.1.2.6
CTS/RTS Function
When the CTS function is used transmit operation start when "L" is applied to the CTSi/RTSi (i=0 to 2) pin.
Transmit operation begins when the CTSi/RTSi pin is held "L". If the "L" signal is switched to "H" during a
transmit 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 (disable CTS/RTS function of UART0)
CRD bit = 0, CRS bit = 0 (CTS function is selected)
CRD bit = 0, CRS bit = 1 (RTS function is selected)
17.1.2.7
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 separate function cannot be used.
Figure 17.24
CTS/RTS Separate Function
Rev.2.41
Jan 10, 2006
REJ09B0185-0241
http://www.xinpian.net
Microcomputer
TXD0 (P6_3)
RXD0 (P6_2)
RTS0 (P6_0)
CTS0 (P6_4)
Page 204 of 390
提供单片机解密、IC解密、芯片解密业务
CTSi/RTSi pin is programmable I/O function
CTSi/RTSi pin is CTS function
CTSi/RTSi pin is RTS function
IC
IN
OUT
CTS
RTS
010-62245566 13810019655
17. Serial Interface

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pM16c/62pt

Table of Contents