9.12.4
Port E Pull-up Control Register (PEPCR)
PEPCR controls on/off states of the input pull-up MOS of port E. PEPCR is valid in 8-bit bus
mode.
Bit
Bit Name
Initial Value
7
PE7PCR
6
PE6PCR
5
PE5PCR
4
PE4PCR
3
PE3PCR
2
PE2PCR
1
PE1PCR
0
PE0PCR
9.12.5
Pin Functions
Port E pins also function as the pins for data I/Os. The correspondence between the register
specification and the pin functions is shown below.
•
PE7/D7, PE6/D6, PE5/D5, PE4/D4, PE3/D3, PE2/D2, PE1/D1, PE0/D0
The pin function is switched as shown below according to the operating mode, bus mode, bit
EXPE, and bit PEDDR.
Operating
mode
Bus mode
EXPE
PEDDR
0
Pin function
PE input PE output Data I/O PE input PE output PE input PE output Data I/O
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
1, 2, 4
All areas
At least
8-bit space
one area
16-bit
space
—
—
1
—
Description
When PEDDR = 0 (input port), the input pull-up
MOS of the input pin is on when the corresponding
bit is set to 1.
—
0
0
1
Rev. 2.00, 05/03, page 361 of 820
7
All areas
At least
8-bit space
one area
16-bit
space
1
0
1
—
1