Pin Functions - Renesas H8S/2437 Hardware Manual

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

7.5.4

Pin Functions

When the corresponding bit in PTCNT1 is cleared to 0, port 4 pins can be used as interrupt input
pins (IRQ7 to IRQ0). When the corresponding bit in PTCNT0 is set to 1, port 4 pins can be used
as PWM output pins (ExPW3 to ExPW0). The relationship between register setting values and pin
functions is as follows.
• P47/IRQ7/TMIY_0/ExPW3
When the IRQ7S bit in PTCNT1 is cleared to 0, this pin can be used as an IRQ7 pin.
When the PW3S bit in PTCNT0 is set to 1, this pin can be used as an ExPW3 pin.
The pin function is switched as shown below according to the combination of the OE3 bit in
PWOER of the PWM, the IRQ7S bit, the PW3S bit, and the P47DDR bit.
When the external clock is selected by the CKS2 to CKS0 bits in TCR of the TMRY_0, this
pin functions as a TMCIY input pin. When the CCLR1 and CCLR0 bits in TCR of the
TMRY_0 are both set to 1, this pin functions as a TMRIY input pin.
P47DDR
PW3S
OE3
Pin function
P47 input pin
* When the IRQ7S bit in PTCNT1 is cleared to 0, this pin functions as the IRQ7 input pin.
Note:
• P46/IRQ6/TMIX_0/ExPW2
When the IRQ6S bit in PTCNT1 is cleared to 0, this pin can be used as an IRQ6 pin.
When the PW2S bit in PTCNT0 is set to 1, this pin can be used as an ExPW2 pin.
The pin function is switched as shown below according to the combination of the OE2 bit in
PWOER of the PWM, the IRQ6S bit, the PW2S bit, and the P46DDR bit.
When the external clock is selected by the CKS2 to CKS0 bits in TCR of the TMRX_0, this
pin functions as a TMCIX input pin. When the CCLR1 and CCLR0 bits in TCR of the
TMRX_0 are both set to 1, this pin functions as a TMRIX input pin.
Rev. 1.00, 09/03, page 164 of 704
0
P47 output pin
TMIY_0 (TMCIY/TMRIY) input pin
0
0
P47 output pin
IRQ7 input pin*
1
1
1
PW3 output pin

Advertisement

Table of Contents
loading

Table of Contents