English
Language : 

HD6433937 Datasheet, PDF (290/521 Pages) Hitachi Semiconductor – Hardware Manual
10. Serial Port Control Register (SPCR)
Bit
7
6
5
4
3
2
1
0
—
Initial value
1
Read/Write
—
— SPC32 SPC31 SCINV3 SCINV2 SCINV1 SCINV0
1
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.
Bits 7 and 6: Reserved bits
Bits 7 and 6 are reserved; they are always read as 1 and cannot be modified.
Bit 5: P42/TXD32 pin function switch (SPC32)
This bit selects whether pin P42/TXD32 is used as P42 or as TXD32.
Bit 5
SPC32
Description
0
Functions as P42 I/O pin
1
Functions as TXD32 output pin*
Note: * Set the TE bit in SCR3 after setting this bit to 1.
(initial value)
Bit 4: P35/TXD31 pin function switch (SPC31)
This bit selects whether pin P35/TXD31 is used as P35 or as TXD31.
Bit 4
SPC31
Description
0
Functions as P35 I/O pin
1
Functions as TXD31 output pin*
Note: * Set the TE bit in SCR3 after setting this bit to 1.
(initial value)
Bit 3: TXD32 pin output data inversion switch
Bit 3 specifies whether or not TXD32 pin output data is to be inverted.
Bit 3
SCINV3
0
1
Description
TXD32 output data is not inverted
TXD32 output data is inverted
(initial value)
278