Port E Pull-Up Control Register (Pepcr); 10.13.5 Pin Functions - Hitachi H8S/2378, H8S/2378R Series Hardware Manual

16 bit single-chip microcomputer
Table of Contents

Advertisement

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
7
PE7PCR
6
PE6PCR
5
PE5PCR
4
PE4PCR
3
PE3PCR
2
PE2PCR
1
PE1PCR
0
PE0PCR

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
Bus mode
All areas
8-bit space
EXPE
PEDDR
0
Pin function
PE
input
Initial Value
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, 5, 6
At least
one area
16-bit
space
1
PE
Data I/O
output
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.
7
All areas
8-bit space
0
0
1
0
PE
PE
PE
input
output
input
At least
one area
16-bit
space
1
1
1
PE
Data I/O
output
Rev. 1.0, 09/01, page 473 of 904

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents