Renesas M16C Series User Manual page 221

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30240 Group
When using clock-asynchronous serial I/O, choose one of three types of CTS/RTS functions.
• CTS/RTS functions disabled
• CTS function only enabled
• RTS function only enabled
(b) Sleep mode (UART0 and UART1 only)
Sleep mode is used to transfer data to and from multiple microcomputers connected via the clock-
asynchronous serial I/O.
(c) Data logic select function (UART2 only)
This function is used to reverse data logic when writing to the transmit buffer register or reading from
the receive buffer register.
(d) TxD, RxD I/O polarity reverse function
This function reverses polarity of the TxD port output level and polarity of the RxD port input level.
(e) Bus collision detection function
This function samples the output level of the TxD pin and the input level of the RxD pin at the rising
edge of the transfer clock; if their values are different, then an interrupt request occurs.
The following are examples in which functions (a) to (e) are chosen:
• Transmission in UART mode
• Reception in UART mode
Also, the SIM interface can be used by adding some extra settings in UART2's clock-asynchronous
serial I/O mode. Direct or inverse format can be selected by connecting the SIM card.
• Transmission using direct format with SIM interface
• Reception using direct format with SIM interface
2.5.1.6 Input to the serial I/O and the direction register
To input an external signal to the serial I/O, set the direction register of the relevant port to input.
2.5.1.7 Pins related to the serial I/O
• CTS0, CTS1, CTS2 pins
• RTS0, RTS1, RTS2 pins
• CLK0, CLK1 pins
• RxD0, RxD1, RxD2 pins
• TxD0, TxD1, TxD2 pins
Rev.1.00 Sep 24, 2003 Page 203 of 360
Clock-Asynchronous Serial I/O
CTS/RTS pin is a programmable I/O port.
CTS/RTS pin performs the CTS function.
CTS/RTS pin performs the RTS function.
Section 2.5.2.1
Section 2.5.2.2
Section 2.5.2.3
Section 2.5.2.4
Input pins for the CTS function
Output pins for the RTS function
Input pins for the transfer clock
Input pins for data
Output pins for data

Advertisement

Table of Contents
loading

Table of Contents