Datasheet

Section 8 I/O Ports
Rev. 8.00 Mar. 09, 2010 Page 197 of 658
REJ09B0042-0800
8.2 Port 1
8.2.1 Overview
Port 1 is a 4-bit I/O port. Figure 8.1 shows its pin configuration.
P1
7
/IRQ
3
/TMIF
P1
6
*
P1
4
/IRQ
4
/ADTRG
P1
3
/TMIG
Port 1
Note: * Pin 16 and the associated function are not implemented on the H8/38124 Group.
Figure 8.1 Port 1 Pin Configuration
8.2.2 Register Configuration and Description
Table 8.2 shows the port 1 register configuration.
Table 8.2 Port 1 Registers
Name Abbr. R/W Initial Value Address
Port data register 1 PDR1 R/W H'FFD4
Port control register 1 PCR1 W H'FFE4
Port pull-up control register 1 PUCR1 R/W H'FFE0
Port mode register 1 PMR1 R/W H'FFC8
Port mode register 2 PMR2 R/W H'D8 H'FFC9