English
Language : 

HD64F2168 Datasheet, PDF (239/874 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
• P42/IRQ2/TMO0
The pin function is switched as shown below according to the OS3 to OS0 bits in TCSR of
TMR_0 and the P42DDR bit.
When the ISS2 bit in ISSR is cleared to 0 and the IRQ2E bit in IER of the interrupt controller
is set to 1, this pin can be used as the IRQ2 input pin. To use this pin as the IRQ2 input pin,
clear the P42DDR bit to 0.
OS3 to OS0
P42DDR
Pin function
All 0
0
1
P42 input pin
IRQ2 input pin
P42 output pin
One bit is set as 1

TMO0 output pin
• P41/IRQ1/TMI1
The pin function is switched as shown below according to the P41DDR bits.
When the TMI1S bit in PTCNT0 is cleared to 0 and the external clock is selected by the CKS2
to CKS0 bits in TCR of TMR_1, this bit is used as the TMCI1 input pin. When the CCLR1
and CCLR0 bits in TCR of TMR_1 are set to 1, this pin is used as the TMRI1 input pin. When
the ISS1 bit in ISSR is cleared to 0 and the IRQ1E bit in IER of the interrupt controller is set to
1, this pin can be used as the IRQ1 input pin. To use this pin as the IRQ1 input pin, clear the
P41DDR bit to 0.
P41DDR
Pin function
0
P41 input pin
TMI1(TMCI1/TMRI1) input pin
IRQ1 input pins
1
P41 output pin
• P40/IRQ0/TMI0
The pin function is switched as shown below according to the P40DDR bits.
When the TMI0S bit in PTCNT0 is cleared to 0 and the external clock is selected by the CKS2
to CKS0 bits in TCR of TMR_0, this bit is used as the TMCI0 input pin. When the CCLR1
and CCLR0 bits in TCR of TMR_0 are set to 1, this pin is used as the TMRI0 input pin. When
the ISS0 bit in ISSR is cleared to 0 and the IRQ0E bit in IER of the interrupt controller is set to
1, this pin can be used as the IRQ0 input pin. To use this pin as the IRQ0 input pin, clear the
P40DDR bit to 0.
P40DDR
Pin function
0
P40 input pin
TMI0(TMCI0/TMRI0) input pin
IRQ0 input pin
1
P40 output pin
Rev. 3.00, 03/04, page 199 of 830