Datasheet

Section 8 I/O Ports
Rev. 6.00 Aug 04, 2006 page 253 of 680
REJ09B0145-0600
Reading the pin for which an analog input channel is selected by the AMR CH3 to CH0 of the
A/D converter, "0" is read regardless of the input voltage.
8.14 Input/Output Data Inversion Function
8.14.1 Overview
With input pins RXD
31
, and RXD
32
, and output pins TXD
31
and TXD
32
, the data can be handled in
inverted form.
SCINV0
SCINV2
RXD
31
RXD
32
P3
4
/RXD
31
P4
1
/RXD
32
SCINV1
SCINV3
TXD
31
TXD
32
P3
5
/TXD
31
P4
2
/TXD
32
Figure 8.13 Input/Output Data Inversion Function
8.14.2 Register Configuration and Descriptions
Table 8.34 shows the registers used by the input/output data inversion function.
Table 8.34 Register Configuration
Name Abbr. R/W Address
Serial port control register SPCR R/W H'FF91