English
Language : 

D12320VF25V Datasheet, PDF (269/1146 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
8.3 Port 2
Section 8 I/O Ports
8.3.1 Overview
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.
Port 2
Port 2 pins
P27 (I/O)/TIOCB5 (I/O)/TMO1 (output)
P26 (I/O)/TIOCA5 (I/O)/TMO0 (output)
P25 (I/O)/TIOCB4 (I/O)/TMCI1 (input)
P24 (I/O)/TIOCA4 (I/O)/TMRI1 (input)
P23 (I/O)/TIOCD3 (I/O)/TMCI0 (input)
P22 (I/O)/TIOCC3 (I/O)/TMRI0 (input)
P21 (I/O)/TIOCB3 (I/O)
P20 (I/O)/TIOCA3 (I/O)
Figure 8.2 Port 2 Pin Functions
8.3.2 Register Configuration
Table 8.4 shows the port 2 register configuration.
Table 8.4 Port 2 Registers
Name
Abbreviation
Port 2 data direction register
P2DDR
Port 2 data register
P2DR
Port 2 register
PORT2
Note: * Lower 16 bits of the address.
R/W Initial Value
W
H'00
R/W H'00
R
Undefined
Address*
H'FEB1
H'FF61
H'FF51
Rev.7.00 Feb. 14, 2007 page 235 of 1108
REJ09B0089-0700