Datasheet
Section 8 I/O Ports
Rev. 3.00 Mar 21, 2006 page 177 of 788
REJ09B0300-0300
8.3.4 Pin Functions
To ensure normal access to external space, P27 should not be set as an on-chip peripheral module
output pin when port 2 pins are used as address output pins.
• P27/A15/PW15/CBLANK
The pin function is switched as shown below according to the combination of the IOSE bit in
SYSCR, the CBOE bit in TCONRO of timer connection, the OE15 bit in PWOERB of PWM,
the P27DDR bit, and operating mode.
Operating
Mode
Mode 1 Mode 2, 3 (EXPE = 1) Mode 2, 3 (EXPE = 0)
CBOE — 0 1 0 1
P27DDR — 0 1 — 0 1 —
OE15 — — 0 1 — — 0 1 —
IOSE — — 0 1 — — — — — —
Pin
Function
A15
output
pin
P27
input
pin
A15
output
pin
P27
output
pin
PW15
output
pin
CBLANK
output
pin
P27
input
pin
P27
output
pin
PW15
output
pin
CBLANK
output
pin
• P26/A14/PW14, P25/A13/PW13, P24/A12/PW12
The pin function is switched as shown below according to the combination of the IOSE bit in
SYSCR, the OEm bit in PWOERB of PWM, the P2nDDR bit, and operating mode.
Operating
Mode
Mode
1
Mode 2, 3 (EXPE = 1) Mode 2, 3 (EXPE = 0)
P2nDDR — 0 1 0 1
OEm — — 0 1 — 0 1
IOSE — — 0 1 — — 1 —
Pin Function A14 to
A12
output
pins
P26 to
P24 input
pins
A14 to
A12
output
pins
P26 to
P24
output
pins
PW14 to
PW12
output
pins
P26 to
P24
input
pins
P26 to
P24
output
pins
PW14 to
PW12
output
pins
Note: n = 6 to 4
m = 14 to 12