176
8.13
Input/Output Data Inversion Function
8.13.1
Overview
With input pins RXD
31
, and RXD
32
, and output pins TXD
31
and TXD
32
, the data can be handled in
inverted form.
SCINV0
SCINV2
RXD
31
RXD
32
P3
4
/RXD
31
P4
1
/RXD
32
SCINV1
SCINV3
TXD
31
TXD
32
P3
5
/TXD
31
P4
2
/TXD
32
Figure 8.12 Input/Output Data Inversion Function
8.13.2
Register Configuration and Descriptions
Table 8.33 shows the registers used by the input/output data inversion function.
Table 8.33
Register Configuration
Name
Abbreviation
R/W
Initial Value
Address
Serial port control register
SPCR
R/W
H'C0
H'FF91
Serial Port Control Register (SPCR)
Bit
Initial value
Read/Write
7
—
1
—
6
—
1
—
5
SPC32
0
R/W
4
SPC31
0
R/W
3
SCINV3
0
R/W
0
SCINV0
0
R/W
2
SCINV2
0
R/W
1
SCINV1
0
R/W
SPCR is an 8-bit readable/writable register that performs RXD
31
, RXD
32
, TXD
31
, and TXD
32
pin
input/output data inversion switching. SPCR is initialized to H'C0 by a reset.
Содержание H8/3935
Страница 1: ......
Страница 2: ......
Страница 4: ......
Страница 24: ...12 ...
Страница 53: ...41 Notation op Operation field 15 0 8 7 op op Figure 2 10 Block Data Transfer Instruction Code ...
Страница 96: ...84 ...
Страница 142: ...130 ...
Страница 144: ...132 ...
Страница 252: ...240 ...
Страница 326: ...314 ...
Страница 340: ...328 ...
Страница 520: ...508 ...