h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 252

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 I/O Ports
9.2.3
Port 1 pins also function as PPG output pins (PO15 to PO8), TPU I/O pins (TCLKA, TCLKB,
TCLKC, TCLKD, TIOCA0, TIOCB0, TIOCC0, TIOCD0, TIOCA1, TIOCB1, TIOCA2, and
TIOCB2), and external interrupt input pins (IRQ0 and IRQ1). Port 1 pin functions are shown in
table 9.3.
Table 9.3
Rev. 5.00 Sep 22, 2005 page 226 of 1136
REJ09B0257-0500
Pin
P17/PO15/
TIOCB2/
TCLKD
Pin Functions
Port 1 Pin Functions
Selection Method and Pin Functions
The pin function is switched as shown below according to the combination of
the TPU channel 2 setting (by bits MD3 to MD0 in TMDR2, bits IOB3 to IOB0
in TIOR2, and bits CCLR1 and CCLR0 in TCR2), bits TPSC2 to TPSC0 in
TCR0 and TCR5, bit NDER15 in NDERH, and bit P17DDR.
Notes: 1. TIOCB2 input when MD3 to MD0 = B'0000 or B'01xx, and IOB3 =
TPU Channel
2 Setting
P17DDR
NDER15
Pin function
TPU Channel
2 Setting
MD3 to MD0
IOB3 to IOB0
CCLR1,
CCLR0
Output
function
2. TCLKD input when the setting for either TCR0 or TCR5 is: TPSC2
1.
to TPSC0 = B'111.
TCLKD input when channels 2 and 4 are set to phase counting
mode.
B'0000
B'0100
B'1xxx
Table Below (1)
TIOCB2 output
B'0000, B'01xx
(2)
B'0001 to
B'0011
B'0101 to
B'0111
compare
Output
output
(1)
B'0010
TCLKD input *
(2)
input
P17
0
B'xx00
Table Below (2)
TIOCB2 input *
(2)
2
output
P17
1
0
than B'10
Other than B'xx00
mode 2
B'0011
output
Other
PWM
(1)
1
x: Don’t care
output
PO15
1
1
B'10
(2)

Related parts for h8s-2646