Datasheet

Table Of Contents
Section 9 I/O Ports
Rev. 2.00 Jul. 04, 2007 Page 151 of 692
REJ09B0309-0200
Section 9 I/O Ports
Microcontrollers of the H8/38099 Group incorporate 75 general I/O ports and eight general input-
only ports. Port 9 is a large current port, which can drive 15 mA (@V
OL
= 1.0 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 ports 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 details on the execution of bit manipulation instructions to the port data register (PDR), see
section 2.8.3, Bit-Manipulation Instruction. For details on block diagrams for each port, see
appendix B.1, I/O Port Block Diagrams.
9.1 Port 1
Port 1 is an I/O port; its pins can also be configured to function as an SCI4 I/O pin, TPU I/O pins,
and asynchronous event counter input pins. Figure 9.1 shows the pin configuration.
P13/TIOCB1/TCLKB
P12/TIOCA1/TCLKA
P11/AEVL
P10/AEVH
P16/SCK4
Port 1
P15/TIOCB2
P14/TIOCA2/TCLKC
Figure 9.1 Port 1 Pin Configuration
Port 1 has the following registers.
Port data register 1 (PDR1)
Port control register 1 (PCR1)
Port pull-up control register 1 (PUCR1)
Port mode register 1 (PMR1)