Datasheet
Section 10 I/O Ports
Rev. 3.00 Mar 17, 2006 page 502 of 926
REJ09B0283-0300
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
0 PE0PCR 0 R/W
When the pin is in its input state, the input pull-up
MOS of the input pin is on when the corresponding
bit is set to 1.
10.13.5 Pin Functions
Port E pins also function as 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, 5, 6 3
*
, 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
PEDDR 01 — 0101 —
Pin function PE
input
PE
output
Data I/O PE
input
PE
output
PE
input
PE
output
Data I/O
Note: * Only in H8S/2678R Group.