Datasheet

Section 7 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 184 of 910
REJ09B0350-0300
7.2.17 Port H
(1) PH5, PH4, PH3, PH2
The pin function is switched as shown below according to the state of the PHnDDR bit.
Setting
I/O Port
Module
Name
Pin Function
PHnDDR
I/O port PHn output 1
PHn input
(initial setting)
0
(n = 5 to 2)
(2) PH1/ExIRQ7/TDPCKI2/TDPMCI2
The pin function is switched as shown below according to the state of the PH1DDR bit. When the
PMMS bit in TDPCR2_2 of the TDP is set to 1, this pin is used as the TDPMCI2 input pin. When
the external clock is selected by the CKS2 to CKS0 bits in TDPCR1_2 of the TDP, this pin is used
as the TDPCKI2 input pin. Do not set input of TDPCKI2 and TDPMCI2 at the same time. When
the ISS7 bit in ISSR is set to 1 and the IRQ7E bit in IER of the interrupt controller is set to 1, this
pin can be used as the ExIRQ7 input pin.
Setting
I/O Port
Module
Name
Pin Function
PH1DDR
I/O port PH1 output
1
PH1 input
(initial setting)
0