Section 9 I/O Ports
9.2.4
Pin Functions
The relationship between register setting values and pin functions are as follows in each operating
mode. In the tables, the symbol "—" stands for Don't care.
Extended Mode:
The function of port 2 pins is switched as shown below according to the combination of the
CS256E and IOSE bits in SYSCR, the ADFULLE and CPCSE bits in BCR2 of BSC, and the
P2nDDR bit.
Addresses 13 and 11 in the following table are expressed by the following logical expressions:
Address 13 = 1:ADFULLE
Address 11 = 1:ADFULLE
P2nDDR
Address 13
Pin function
P27 to P25 input pins
Notes: n = 7 to 5
Even if P2nDDR = 1 and CPCSE = 1, pins P27 to P25 can be used as output pins only
when IOSE = 1.
P24DDR
Address 11
Pin function
P23DDR
Address 11
Pin function
P2nDDR
Pin function
Note:
n = 2 to 0
Rev. 3.00 Jan 25, 2006 page 214 of 872
REJ09B0286-0300
⋅ ⋅ ⋅ ⋅
CS256E
⋅ ⋅ ⋅ ⋅
CS256E
0
—
0
—
P24 input pin
0
—
P23 input pin
0
P22 to P20 input pins
⋅ ⋅ ⋅ ⋅
IOSE
⋅ ⋅ ⋅ ⋅
⋅ ⋅ ⋅ ⋅
CPCSE
IOSE
0
A15 to A13 output pins
0
A12 output pin
0
A11 output pin, CPREG
output pin
A10 to A8 output pins, CPA10 to CPA8
1
1
P27 to P25 output pins
1
1
P24 output pin
1
1
P23 output pin
1
output pins