Rev. 1.00, 09/03, page 164 of 704
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 0
1
PW3S
0
1
OE3
0 1
P47 input pin
P47 output pin
P47 output pin
PW3 output pin
TMIY_0 (TMCIY/TMRIY) input pin
Pin function
IRQ7
input pin
*
Note:
*
When the IRQ7S bit in PTCNT1 is cleared to 0, this pin functions as the
IRQ7
input pin.
•
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.
Summary of Contents for H8S/2437
Page 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Page 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Page 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Page 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Page 168: ...Rev 1 00 09 03 page 130 of 704 ...
Page 336: ...Rev 1 00 09 03 page 298 of 704 ...
Page 402: ...Rev 1 00 09 03 page 364 of 704 ...
Page 454: ...Rev 1 00 09 03 page 416 of 704 ...
Page 512: ...Rev 1 00 09 03 page 474 of 704 ...
Page 562: ...Rev 1 00 09 03 page 524 of 704 ...
Page 648: ...Rev 1 00 09 03 page 610 of 704 ...
Page 672: ...Rev 1 00 09 03 page 634 of 704 ...
Page 732: ...Rev 1 00 09 03 page 694 of 704 ...
Page 742: ...Rev 1 00 09 03 page 704 of 704 ...
Page 745: ......
Page 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...