Datasheet

Section 7 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 183 of 910
REJ09B0350-0300
(7) PG1/ExIRQ9/TMIY/TDPCKI1/TDPMCI1
The pin function is switched as shown below according to the state of the PG1DDR bit. When the
PMMS bit in TDPCR2_1 of the TDP is set to 1, this pin is used as the TDPMCI1 input pin. When
the external clock is selected by the CKS2 to CKS0 bits in TDPCR1_1 of the TDP, this pin is used
as the TDPCKI1 input pin. Do not set input of TDPCKI1 and TDPMCI1 at the same time. When
the ISS9 bit in ISSR16 is set to 1 and the IRQ9E bit in IER16 of the interrupt controller is set to 1,
this pin can be used as the ExIRQ9 input pin.
Setting
I/O Port
Module
Name
Pin Function
PG1DDR
I/O port PG1 output
1
PG1 input
(initial setting)
0
(8) PG0/ExIRQ8/TMIX/TDPCYI1
The pin function is switched as shown below according to the state of the PG0DDR bit. When the
TDPIPE bit in TDPIER_1 of the TDP is set to 1, this pin is used as the TDPCYI1 input pin. When
the ISS8 bit in ISSR16 is set to 1 and the IRQ8E bit in IER16 of the interrupt controller is set to 1,
this pin can be used as the ExIRQ8 input pin.
Setting
I/O Port
Module
Name
Pin Function
PG0DDR
I/O port PG0 output
1
PG0 input
(initial setting)
0