Change Of Peripheral Function Pins; Port Control Register 0 (Ptcnt0) - Renesas H8S/2437 Hardware Manual

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

Advertisement

7.14

Change of Peripheral Function Pins

I/O ports that also function as peripheral modules, such as the 8-bit PWM timer output, external
interrupts, and TPU I/O, and, can be changed. They are changed according to the setting of
PTCNT0 to PTCNT2. The pin name of the peripheral function is indicated by adding 'Ex' at the
head of the original pin name. In each peripheral function description, the original pin name is
used.
7.14.1

Port Control Register 0 (PTCNT0)

PTCNT0 selects ports that also function as 8-bit PWM timer output pins.
Bit
Bit Name
7
PW7S
6
PW6S
5
PW5S
4
PW4S
3
PW3S
2
PW2S
1
PW1S
0
PW0S
Rev. 1.00, 09/03, page 214 of 704
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Description
Selects the PW7 output pin for the 8-bit PWM timer.
0: P17/PW7 is selected
1: PA1/ExPW7 is selected
Selects the PW6 output pin for the 8-bit PWM timer.
0: P16/PW6 is selected
1: PA0/ExPW6 is selected
Selects the PW5 output pin for the 8-bit PWM timer.
0: P15/PW5 is selected
1: P57/ExPW5 is selected
Selects the PW4 output pin for the 8-bit PWM timer.
0: P14/PW4 is selected
1: P56/ExPW4 is selected
Selects the PW3 output pin for the 8-bit PWM timer.
0: P13/PW3 is selected
1: P47/ExPW3 is selected
Selects the PW2 output pin for the 8-bit PWM timer.
0: P12/PW2 is selected
1: P46/ExPW2 is selected
Selects the PW1 output pin for the 8-bit PWM timer.
0: P11/PW1 is selected
1: P45/ExPW1 is selected
Selects the PW0 output pin for the 8-bit PWM timer.
0: P10/PW0 is selected
1: P44/ExPW0 is selected

Advertisement

Table of Contents
loading

Table of Contents