Pin Functions - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

9.3.3

Pin Functions

Port 2 pins also function as PPG output pins (PO7 to PO0) and TPU I/O pins (TIOCA3, TIOCB3, TIOCC3, TIOCD3,
TIOCA4, TIOCB4, TIOCA5, and TIOCB5), and 8-bit timer I/O pins (TMRI0, TMCI0, TMO0, TMRI1, TMCI1, and
TMO1). Port 2 pin functions are shown in table 9-5.
Table 9-5
Port 2 Pin Functions
Pin
P2
/PO7/TIOCB5/
7
TMO1
Selection Method and Pin Functions
The pin function is switched as shown below according to the combination of
the TPU channel 5 setting by bits MD3 to MD0 in TMDR5, bits IOB3 to IOB0 in
TIOR5, bits CCLR1 and CCLR0 in TCR5, bit NDER7 in NDERL, bits OS3 to
OS0 in TCSR1, and bit P27DDR.
OS3 to OS0
TPU Channel
Table
5 Setting
Below (1)
P27DDR
NDER7
Pin function
TIOCB5
output
Note: * TIOCB5 input when MD3 to MD0 = B'0000, B'01××, and IOB3 = 1.
TPU Channel
5 Setting
(2)
MD3 to MD0
B'0000, B'01××
IOB3 to IOB0
B'0000
B'0100
B'1×××
CCLR1,
CCLR0
Output
function
All 0
Table Below (2)
0
1
0
P2
P2
7
7
input
output
TIOCB5 input *
(1)
(2)
B'0010
B'0001 to
B'××00
B'0011
B'0101 to
B'0111
Output
compare
output
Rev.6.00 Oct.28.2004 page 281 of 1016
Any 1
1
1
PO7
TMO1
output
output
(2)
(1)
(2)
B'0011
Other than B'××00
Other
B'10
than B'10
PWM
mode 2
output
×: Don't care
REJ09B0138-0600H

Advertisement

Table of Contents
loading

Table of Contents