HD6412340 HITACHI [Hitachi Semiconductor], HD6412340 Datasheet - Page 236

no-image

HD6412340

Manufacturer Part Number
HD6412340
Description
H8S/2345 F-ZTAT Hardware Manual
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6412340TE20
Manufacturer:
SANYO
Quantity:
20 000
Part Number:
HD6412340TE20
Manufacturer:
HITACHI/日立
Quantity:
20 000
8.3
8.3.1
Port 2 is an 8-bit I/O port. Port 2 pins also function as 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 the same in all operating modes.
Port 2 uses Schmitt-triggered input.
Figure 8.2 shows the port 2 pin configuration.
8.3.2
Table 8.4 shows the port 2 register configuration.
Table 8.4
Name
Port 2 data direction register
Port 2 data register
Port 2 register
Note: * Lower 16 bits of the address.
Port 2
Overview
Register Configuration
Port 2 Registers
Port 2
Figure 8.2 Port 2 Pin Functions
Abbreviation
P2DDR
P2DR
PORT2
Port 2 pins
P2
P2
P2
P2
P2
P2
P2
P2
7
6
5
4
3
2
1
0
(I/O)/TIOCB5 (I/O)/TMO1 (output)
(I/O)/TIOCA5 (I/O)/TMO0 (output)
(I/O)/TIOCB4 (I/O)/TMCI1 (input)
(I/O)/TIOCA4 (I/O)/TMRI1 (input)
(I/O)/TIOCD3 (I/O)/TMCI0 (input)
(I/O)/TIOCC3 (I/O)/TMRI0 (input)
(I/O)/TIOCB3 (I/O)
(I/O)/TIOCA3 (I/O)
R/W
W
R/W
R
Initial Value
H'00
H'00
Undefined
Address*
H'FEB1
H'FF61
H'FF51
219

Related parts for HD6412340