English
Language : 

HD6433802H Datasheet, PDF (258/435 Pages) Hitachi Semiconductor – Single-Chip Microcomputer
10.2.10 Serial Port Control Register (SPCR)
Bit
7
6
5
4
3
2
1
0
—
— SPC32
— SCINV3 SCINV2
—
—
Initial value
1
1
0
—
0
0
—
—
Read/Write
—
—
R/W
W
R/W R/W
W
W
SPCR is an 8-bit readable/writable register that performs RXD32 and TXD32 pin input/output data
inversion switching.
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)
Bits 4, 1, and 0: Reserved bits
Bits 4, 1, and 0 are reserved; only 0 can be written to these bits.
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)
Bit 2: RXD32 pin input data inversion switch
Bit 2 specifies whether or not RXD32 pin input data is to be inverted.
240