Serial Port Control Register (Spcr) - Hitachi H8/3827R Series Hardware Manual

Table of Contents

Advertisement

10.2.10 Serial Port Control Register (SPCR)

Bit
Initial value
Read/Write
SPCR is an 8-bit readable/writable register that performs RXD
input/output data inversion switching. SPCR is initialized to H'C0 by a reset.
Bit 0: RXD
pin input data inversion switch
31
Bit 0 specifies whether or not RXD
Bit 0
SCINV0
Description
0
RXD
31
1
RXD
31
Bit 1: TXD
pin output data inversion switch
31
Bit 1 specifies whether or not TXD
Bit 1
SCINV1
Description
0
TXD
31
1
TXD
31
Bit 2: RXD
pin input data inversion switch
32
Bit 2 specifies whether or not RXD
Bit 2
SCINV2
Description
0
RXD
32
1
RXD
32
7
6
5
SPC32
1
1
0
R/W
pin input data is to be inverted.
31
input data is not inverted
input data is inverted
pin output data is to be inverted.
31
output data is not inverted
output data is inverted
pin input data is to be inverted.
32
input data is not inverted
input data is inverted
4
3
SPC31
SCINV3
SCINV2
0
0
R/W
R/W
, RXD
31
2
1
SCINV1
SCINV0
0
0
R/W
R/W
R/W
, TXD
, and TXD
32
31
(initial value)
(initial value)
(initial value)
0
0
pin
32
269

Advertisement

Table of Contents
loading

Table of Contents