Renesas M16C/26A Series Hardware Manual page 167

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
13.1.1.5 Serial data logic switch function (UART2)
When the U2LCH bit in the U2C1 register is set to "1" (reverse), the data written to the U2TB register
has its logic reversed before being transmitted. Similarly, the received data has its logic reversed
when read from the U2RB register. Figure 13.1.1.4.1 shows serial data logic.
(1) When the U2LCH bit in the U2C1 register is set to "0" (no reverse)
Transfer clock
TxD
(no reverse)
(2) When the U2LCH bit in the U2C1 register is set to "1" (reverse)
Transfer clock
TxD
(reverse)
NOTE:
1. This applies to the case where the CKPOL bit in the U2C0 register is set to "0"
(transmit data output at the falling edge and the receive data taken in at the rising
edge of the transfer clock) and the UFORM bit is set to "0" (LSB first).
Figure 13.1.1.4.1. Serial data logic switch timing
13.1.1.6 Transfer clock output from multiple pins function (UART1)
The CLKMD1 to CLKMD0 bits in the UCON register can choose one from two transfer clock output
pins. (See Figure 13.1.1.6.1) This function is valid when the internal clock is selected for UART1.
Microcomputer
T
D
(P6
)
X
1
7
CLKS
(P6
)
1
4
CLK
(P6
)
1
5
NOTES:
1. This applies to the case where the CKDIR bit in the U1MRregister is set to "0" (internal clock) and
the CLKMD1 bit in the UCON register is set to "1" (transfer clock output from multiple pins).
2. This applies to the case where U1MAP bit in PACR register is set to "0" (P6
Figure 13.1.1.6.1 Transfer Clock Output From Multiple Pins
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
"H"
"L"
"H"
2
D0
D1
D2
"L"
"H"
"L"
"H"
2
D0
D1
D2
"L"
IN
CLK
Transfer enabled
when the CLKMD0
bit in the UCON
register is set to "0"
page 148
f o
3
2
9
6
C
2 /
6
) T
D3
D4
D5
D6
D3
D4
D5
D6
IN
CLK
Transfer enabled
when the CLKMD0
bit in the UCON
register is set to "1"
D7
D7
to P6
).
7
4
13. Serial I/O

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents