Renesas M16C/26A Series Hardware Manual page 171

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
Table 13.1.2.3 lists the functions of the input/output pins during UART mode. Table 13.1.2.4 lists the P6
pin functions 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 13.1.2.3. 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
NOTE:
1. When the U1MAP bit in PACR register is set to "1" (P7
Table 13.1.2.4. P6
Pin function
U1C0 register
CRD
P6
4
1
CTS
0
1
RTS
0
1
(2)
CTS
0
0
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
register to "1" (RTS
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
6
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
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"
Pin Functions in UART mode
4
Bit set value
UCON register
RCSP
CRS
0
0
0
1
0
0
1
selected).
0
page 152
f o
3
2
9
6
C
2 /
6
) T
(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
0
0
to P7
), this table lists the P7
3
0
/RTS
0
to P7
.
3
0
functions.
0
enabled) and the CRS bit in the U0C0
0
13. Serial I/O
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents