English
Language : 

HD64F2638F20J Datasheet, PDF (317/1512 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
H8S/2639, H8S/2638, H8S/2636,
H8S/2630, H8S/2635 Group
Section 9 I/O Ports
Pin
Selection Method and Pin Functions
PB5/A13/TIOCB4
The function of this pin changes according to the operating mode and the
setting of bits AE3 to AE0 in PFCR; the TPU4 settings of bits MD3 to MD0 in
TMDR4, bits IOB3 to IOB0 in TIOR4, and the CCLR1 and CCLR0 bits in TCR4;
and the setting of the PB5DDR bit.
Operating
Mode
Modes 4 to 6
AE3 to AE0
B'0000 to B'0101
B'0110 to
B'1111
TPU Channel Table Below (1)
Table Below (2)
—
4 Setting
PB5DDR
—
0
1
—
Pin function
TIOCB4 output
PB5 input PB5 output A13 output
TIOCB4 input *
Operating
Mode
TPU Channel
4 Setting
PB5DDR
Pin function
Table Below (1)
—
TIOCB4 output
Mode 7
Table Below (2)
0
1
PB5 input
PB5 output
TIOCB4 input *
TPU Channel (2)
4 Setting
(1)
(2)
(2)
(1)
(2)
MD3 to MD0
B'0000, B'01xx B'0010
B'0011
IOB3 to IOB0
B'0000
B'0100
B'1xxx
B'0001 to
B'0011
B'0101 to
B'0111
— B'xx00 Other than B'xx00
CCLR1,
CCLR0
—
—
—
—
Other B'10
than
B'10
Output
function
—
Output
—
compare
output
—
PWM
—
mode 2
output
x: Don't care
Note: TIOCB4 input when MD3 to MD0 = B'0000 or B'01xx and IOB3 to IOB0
= B'10xx.
REJ09B0103-0800 Rev. 8.00
May 28, 2010
Page 267 of 1458