Pin Functions - Renesas H8S/2437 Hardware Manual

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

Advertisement

7.6.4

Pin Functions

When the corresponding bit in PTCNT0 is set to 1, port 5 pins can be used as PWM output pins
(ExPW5 and ExPW4). The relationship between register setting values and pin functions is as
follows.
• P57/TMO1_1/ExPW5
When the PW5S bit in PTCNT0 is set to 1, this pin can be used as an ExPW5 pin.
The pin function is switched as shown below according to the combination of the OS3 to OS0
bits in TCSR of the TMR1_1, the OE5 bit in PWOER of the PWM, the PW5S bit, and the
P57DDR bit.
OS3 to OS0
P57DDR
PW5S
OE5
Pin function
P57 input pin
• P56/TMO0_1/ExPW4
When the PW4S bit in PTCNT0 is set to 1, this pin can be used as an ExPW4 pin.
The pin function is switched as shown below according to the combination of the OS3 to OS0
bits in TCSR of the TMR0_1, the OE4 bit in PWOER of the PWM, the PW4S bit, and the
P56DDR bit.
OS3 to OS0
P56DDR
PW4S
OE5
Pin function
P56 input pin
Rev. 1.00, 09/03, page 170 of 704
0
0
P57 output pin
0
0
P56 output pin
All 0
1
1
0
P57 output pin
ExPW5 output
All 0
1
1
0
P56 output pin
ExPW4 output
At lease one
bit is set to 1
1
TMO1_1
pin
output pin
At lease one
bit is set to 1
1
TMO0_1
pin
output pin

Advertisement

Table of Contents
loading

Table of Contents