Datasheet

Table Of Contents
Section 17 Serial Communications Interface 3 (SCI3, IrDA)
Rev. 2.00 Jul. 04, 2007 Page 375 of 692
REJ09B0309-0200
17.3.10 Serial Port Control Register 2 (SPCR2)
SPCR2 selects the function of the TXD33 pin and selects whether or not data input on the RXD33
pin and output via the TXD33 pin are inverted.
Bit Bit Name
Initial
Value
R/W Description
7 to 5 All 1 Reserved
These bits are always read as 1 and cannot be
modified.
4 SPC33 0 R/W PE2/TXD33 Pin Function Switch
Selects whether pin PE2/TXD33 is used as PE2 or as
TXD33.
0: PE2 I/O pin
1: TXD33 output pin
Set the TE bit in SCR3_3 after having set this bit to 1.
3
2
1
1
Reserved
These bits are always read as 1 and cannot be
modified.
1 SCINV5 0 R/W TXD33 Pin Output Data Inversion Switch
Specifies whether the logic level of output data of the
TXD33 pin is inverted.
0: TXD33 output data is not inverted
1: TXD33 output data is inverted
0 SCINV4 0 R/W RXD33 Pin Input Data Inversion Switch
Specifies whether the logic level of input data of the
RXD33 pin is inverted.
0: RXD33 input data is not inverted
1: RXD33 input data is inverted
Note: When the values in bits 1 and 0 of serial port control register 2 are changed, the data being
input or output up to that point is inverted immediately after the change, and this may lead
to the input or output of invalid data. Values in this control register must only be changed
while changes to the data have no effect.