Datasheet

Rev. 3.00, 03/04, page 189 of 830
8.2.4 Pin Functions
The relationship between register setting values and pin functions are as follows in each operating
mode.
Extended Mode (EXPE = 1):
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
CS256E (CPCSE IOSE)
Address 11 = 1:ADFULLE
CS256E CPCSE IOSE
P2nDDR 0 1
ADMXE 0 1 0 1
Address 13 0 1
Pin function P27 to P25
input pins
AD15 to
AD13
input/output
pins
A15 to A13
output pins
P27 to P25
output pins
AD15 to AD13
input/output pins
[Legend]
n = 7 to 5
P24DDR 0 1
ADMXE 0 1 0 1
Address 11 0 1
Pin function P24 input pin AD12
input/output
pin
A12 output
pin
P24 output
pin
AD12 input/output pin
P23DDR 0 1
ADMXE 0 1 0 1
Address 11 0 1
Pin function P23 input pin AD11
input/output
pin
A11 output
pin
P23 output
pin
AD11 input/output pin