Datasheet

Rev.6.00 Oct.28.2004 page 269 of 1016
REJ09B0138-0600H
9.2 Port 1
9.2.1 Overview
Port 1 is an 8-bit I/O port. Port 1 pins also function as PPG output pins (PO15 to PO8), TPU I/O pins (TCLKA, TCLKB,
TCLKC, TCLKD, TIOCA0, TIOCB0, TIOCC0, TIOCD0, TIOCA1, TIOCB1, TIOCA2, and TIOCB2), and DMAC
output pins (DACK0 and DACK1). Port 1 pin functions are the same in all operating modes.
Figure 9-1 shows the port 1 pin configuration.
P1
7
(I/O)/PO15 (output)/TIOCB2 (I/O)/TCLKD (input)
P1
6
(I/O)/PO14 (output)/TIOCA2 (I/O)
P1
5
(I/O)/PO13 (output)/TIOCB1 (I/O)/TCLKC (input)
P1
4
(I/O)/PO12 (output)/TIOCA1 (I/O)
P1
3
(I/O)/PO11 (output)/TIOCD0 (I/O)/TCLKB (input)
P1
2
(I/O)/PO10 (output)/TIOCC0 (I/O)/TCLKA (input)
P1
1
(I/O)/PO9 (output)/TIOCB0 (I/O)/DACK1 (output)
P1
0
(I/O)/PO8 (output)/TIOCA0 (I/O)/DACK0 (output)
Port 1
Port 1 pins
Figure 9-1 Port 1 Pin Functions
9.2.2 Register Configuration
Table 9-2 shows the port 1 register configuration.
Table 9-2 Port 1 Registers
Name Abbreviation R/W Initial Value Address*
Port 1 data direction register P1DDR W H'00 H'FEB0
Port 1 data register P1DR R/W H'00 H'FF60
Port 1 register PORT1 R Undefined H'FF50
Note: * Lower 16 bits of the address.