h8s2277 Renesas Electronics Corporation., h8s2277 Datasheet - Page 219

no-image

h8s2277

Manufacturer Part Number
h8s2277
Description
Hitachi Single-chip Microcomputer H8s/2276 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
9.2.3
Port 1 pins also function as TPU I/O pins (TCLKA, TCLKB, TIOCA0, TIOCB0, TIOCC0,
TIOCD0, TIOCA1, and TIOCA2), external interrupt input pins (IRQ0 and IRQ1), and address
output pins (A23 to A20). Port 1 pin functions are shown in table 9.3.
Table 9.3
Pin
P16/
TIOCA2/
IRQ1
Pin Functions
Pin Functions and Selection Method
The pin function is switched as shown below according to the combination of the TPU
channel 2 settings (bits MD3 to MD0 in TMDR2, bits IOA3 to IOA0 in TIOR2, and bits
CCLR1 and CCLR0 in TCR2) and bit P16DDR.
Notes: *1 TIOCA2 input when MD3 to MD0 = B'0000 or B'01xx and IOA3 = 1.
Port 1 Pin Functions
TPU channel 2
settings
P16DDR
Pin function
TPU channel 2
settings
MD3 to MD0
IOA3 to IOA0
CCLR1, CCLR0
Output function
*2 When used as an external interrupt pin, do not use for another function.
B'0000
B'0100
B'1xxx
(2)
TIOCA2 output
in table below
B'0000, B'01xx
B'0001 to B'0011
B'0101 to B'0111
Output compare
(1)
output
(1)
IRQ1 input*
B'001x B'0010
B'xx00
P16 input
(2)
0
mode 1
B'xx00
output
Other
PWM
TIOCA2 input*
than
in table below
(1)
2
(2)
PWM mode 2
Other than
Other than B'xx00
output
B'01
(1)
P16 output
1
B'0011
x: Don’t care
1
B'01
(2)
197

Related parts for h8s2277