Register Configuration And Descriptions - Hitachi H8/3827R Series Hardware Manual

Table of Contents

Advertisement

8.11.2

Register Configuration and Descriptions

Table 8.27 shows the registers used by the input/output data inversion function.
Table 8.27 Register Configuration
Name
Serial port control register
Serial Port Control Register (SPCR)
Bit
7
Initial value
1
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
Abbreviation
SPCR
6
5
SPC32
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
R/W
R/W
4
3
SPC31
SCINV3
SCINV2
0
0
R/W
R/W
, RXD
31
Address
H'FF91
2
1
SCINV1
SCINV0
0
0
R/W
R/W
R/W
, TXD
, and TXD
32
31
(initial value)
(initial value)
0
0
pin
32
171

Advertisement

Table of Contents
loading

Table of Contents