Datasheet

Section 10 I/O Ports
Rev.7.00 Mar. 18, 2009 page 527 of 1136
REJ09B0109-0700
10.13.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 R/W Description
7 PE7PCR 0 R/W
6 PE6PCR 0 R/W
5 PE5PCR 0 R/W
4 PE4PCR 0 R/W
3 PE3PCR 0 R/W
2 PE2PCR 0 R/W
1 PE1PCR 0 R/W
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 PE0PCR 0 R/W
10.13.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
1, 2, 4 7
Bus mode All areas
8-bit space
At least one
area 16-bit
space
All areas
8-bit space
At least one area
16-bit space
EXPE 0 1 1
PEnDDR 0 1 0 1 0 1
Pin function PEn
input
PEn
output
Data I/O PEn
input
PEn
output
PEn
input
PEn
output
Data I/O
Legend: n = 7 to 0