Renesas M16C FAMILY series Hardware Manual page 205

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

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C
Table 14.7 lists the functions of the input/output pins in UART mode. Table 14.8 lists the P6
tions during UART mode. Note that for a period from when the UARTi operation mode is selected to when
transfer starts, the TxDi pin outputs an "H". (If the N-channel open-drain output is selected, this pin is in a
high-impedance state.)
Table 14.7 I/O Pin Functions in UART mode
Pin name
TxDi (i = 0 to 2)
Serial data output
(P6
, P6
, P7
)
3
7
0
RxDi
Serial data input
(P6
, P6
, P7
)
2
6
1
CLKi
Input/output port
(P6
, P6
, P7
)
1
5
2
Transfer clock input
CTS input
CTSi/RTSi
(P6
, P6
, P7
)
0
4
3
RTS output
Input/output port
NOTES:
1. When the U1MAP bit in PACR register is set to "1" (P7
Table 14.8 P6
Pin Functions in UART mode
4
Pin function
P6
4
CTS
1
RTS
1
0 (2)
CTS
NOTES:
1. When the U1MAP bit in PACR register is "1" (P7
2. In addition to this, set the CRD bit in the U0C0 register to "0" (CTS
in the U0C0 register to "1" (RTS
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
Function
(Outputs "H" when performing reception only)
PD6_2 bit, PD6_6 bit in the PD6 register and the PD7_1 bit in the PD7 register
(Can be used as an input port when performing transmission only)
Set the CKDIR bit in the UiMR register to "0"
Set the CKDIR bit in the UiMR register to "1"
Set the PD6_1 bit and PD6_5 bit in the PD6 register to "0", PD7_2 bit in the PD7
register to "0"
Set the CRD bit in the UiC0 register to "0"
Set the CRS bit in the UiC0 register to "0"
Set the PD6_0 bit and PD6_4 bit in the PD6 register to "0", the PD7_3 bit in the
PD7 register "0"
Set the CRD bit in the UiC0 register to "0"
Set the CRS bit in the UiC0 register to "1"
Set the CRD bit in the UiC0 register "1"
Bit set value
U1C0 register
UCON register
RCSP
CRD
CRS
1
0
0
0
0
0
1
0
0
0
1
selected).
0
page 185
f o
3
8
5
(1)
Method of selection
to P7
), UART1 pin is assgined to P7
3
0
(1)
PD6 register
CLKMD1
PD6_4
0
Input: 0, Output: 1
0
0
0
to P7
), this table lists the P7
3
0
to P7
.
3
0
0
0
functions.
0
/RTS
enabled) and the CRS bit
0
0
14. Serial I/O
pin func-
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents