Hitachi H8/3692 ユーザーズマニュアル

ページ / 397
Rev. 1.0, 07/01, page 111 of 372
Section 9   I/O Ports
The series of this LSI has twenty-nine general I/O ports and eight input-only ports. Port 8 is a
large current port, which can drive 20 mA (@V
OL
 = 1.5 V) when a low level signal is output. Any
of these ports can become an input port immediately after a reset. They can also be used as I/O
pins of the on-chip peripheral modules or external interrupt input pins, and these functions can be
switched depending on the register settings. The registers for selecting these functions can be
divided into two types: those included in I/O ports and those included in each on-chip peripheral
module. General I/O registers are comprised of the port control register for controlling
inputs/outputs and the port data register for storing output data and can select inputs/outputs in bit
units. For functions in each port, see appendix B1, I/O Port Block Diagrams. For the execution of
bit manipulation instructions to the port control register and port data register, see 2.8.3, Bit
Manipulation Instruction.
9.1
Port 1
Port 1 is a general I/O port also functioning as IRQ interrupt input pins, a timer A output pin, and
a timer V input pin. Figure 9-1 shows its pin configuration.
P17/
/TRGV
P16/
 
P15/
P14/
P12 
P11   
P10/TMOW
 
 
Port 1
Figure 9-1   Port 1 Pin Configuration
Port 1 has the following registers. For details on register addresses and register states during each
process, refer to section 19, Internal I/O Register.
 
Port mode register 1(PMR1)
 
Port control register 1(PCR1)
 
Port data register 1(PDR1)
 
Port pull-up control register 1(PUCR1)