10. Serial Port Control Register (SPCR)
Bit
7
—
1
6
—
1
5
4
3
2
1
0
SPC32 SPC31 SCINV3 SCINV2 SCINV1 SCINV0
Initial value
Read/Write
0
0
0
0
0
0
—
—
R/W
R/W
R/W
R/W
R/W
R/W
SPCR is an 8-bit readable/writable register that performs RXD31, RXD32, TXD31, and TXD32 pin
input/output data inversion switching. SPCR is initialized to H'C0 by a reset.
Bit 0: RXD31 pin input data inversion switch
Bit 0 specifies whether or not RXD31 pin input data is to be inverted.
Bit 0
SCINV0
Description
0
1
RXD31 input data is not inverted
RXD31 input data is inverted
(initial value)
(initial value)
(initial value)
Bit 1: TXD31 pin output data inversion switch
Bit 1 specifies whether or not TXD31 pin output data is to be inverted.
Bit 1
SCINV1
Description
0
1
TXD31 output data is not inverted
TXD31 output data is inverted
Bit 2: RXD32 pin input data inversion switch
Bit 2 specifies whether or not RXD32 pin input data is to be inverted.
Bit 2
SCINV2
Description
0
1
RXD32 input data is not inverted
RXD32 input data is inverted
288