9.5.3
Port 5 Register (PORT5)
PORT5 shows the pin states. PORT5 cannot be modified.
Bit
Bit Name
Initial Value
7to
—
Undefined
4
3
P53
—*
2
P52
—*
1
P51
—*
0
P50
—*
Note: * Determined by the states of pins P53 to P50.
9.5.4
Pin Functions
Port 5 pins also function as the pins for SCI I/Os, A/D converter inputs, and interrupt inputs. The
correspondence between the register specification and the pin functions is shown below.
•
P53/ADTRG/IRQ3
The pin function is switched as shown below according to the combination of bits TRGS1 and
TRGS0 in the A/D control register (ADCR), bit ITS3 in ITSR, and bit P53DDR.
P53DDR
Pin function
Notes: *1 ADTRG input when TRGS1 = TRGS0 = 1.
*2 IRQ3 input when ITS3 = 0.
Rev. 2.00, 05/03, page 334 of 820
R/W
Description
R
Reserved
Undefined values are read from these bits.
R
If bits P53 to P50 are read while P5DDR bits are set
to 1, the P5DR values are read. If a port 5 read is
R
performed while P5DDR bits are cleared to 0, the
R
pin states are read.
R
0
P53 input
ADTRG input*
IRQ3 interrupt input*
1
P53 output
1
2