Datasheet

Section 8 I/O Ports
Rev. 4.00 Sep 27, 2006 page 277 of 1130
REJ09B0327-0400
Pin Selection Method and Pin Functions
PB1/D1/HIRQ4 The pin function is switched as shown below according to the combination of
the operating mode, bits HI12E and CS4E in SYSCR2, bit ABW in WSCR, and
bit PB1DDR.
Operating
mode
Modes 1, 2, 3
(EXPE = 1)
Modes 2, 3
(EXPE = 0)
HI12E Either cleared to 0 1
CS4E 1
ABW 0 1 ——
PB1DDR 0101
Pin function D1
I/O pin
PB1
input pin
PB1
output pin
PB1
input pin
PB1
output pin
HIRQ4
output pin
PB0/D0/HIRQ3 The pin function is switched as shown below according to the combination of
the operating mode, bits HI12E and CS3E in SYSCR2, bit ABW in WSCR, and
bit PB0DDR.
Operating
mode
Modes 1, 2, 3
(EXPE = 1)
Modes 2, 3
(EXPE = 0)
HI12E Either cleared to 0 1
CS3E 1
ABW 0 1 ——
PB0DDR 0101
Pin function D0
I/O pin
PB0
input pin
PB0
output pin
PB0
input pin
PB0
output pin
HIRQ3
output pin