Pin Functions - Renesas H8S/2437 Hardware Manual

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

Advertisement

7.9.4

Pin Functions

When the corresponding bit in PTCNT2 is set to 1, port 8 pins can be used as TPU I/O pins
(ExTIOCB0 and ExTIOCA0). The relationship between register setting values and pin functions is
as follows.
• P87/ExTIOCB0/ADTRG
When the TIOCB0S bit in PTCNT2 is set to 1, this pin can be used as an ExTIOCB0 pin.
The pin function is switched as shown below according to the combination of the TPU channel
0 settings by the MD3 to MD0 bits in TMDR_0 and the IOB3 to IOB0 bits in TIORH_0, the
TIOCB0S bit, and the P87DDR bit.
When the TRGS1 and TRGS0 bits in ADCR are all set to 1, this pin functions as an ADTRG
input pin.
TIOCB0S
TIOCB0 output
P87DDR
Pin function
P87 input pin
TPU channel 0
setting
MD3 to MD0
IOB3 to IOB0
B'0000
B'0100
B'1xxx
CCLR2 to
CCLR0
Output function
[Legend]
x: Don't care
Note:
* When TIOCB0S = 1, MD3 to MD0 = B'0000, and IOB3 to IOB0 = B'10xx, this pin
functions as the TIOCB0 input pin.
0
0
1
P87 output pin
(2)
(1)
B'0000
B'0001 to B'0011
B'0101 to B'0111
Output compare
output
Table below (2)
0
P87 input pin P87 output pin
ExTIOCB0 input pin*
ADTRG input pin
(2)
(2)
B'0010
B'xx00
Rev. 1.00, 09/03, page 185 of 704
1
Table below (1)
1
ExTIOCB0
output pin
(1)
(2)
B'0011
Other than B'xx00
Other than
B'010
B'010
PWM mode
2 output

Advertisement

Table of Contents
loading

Table of Contents