11.3 Pin Functions - Renesas H8S/2633 Series Hardware Manual

Hide thumbs Also See for H8S/2633 Series:
Table of Contents

Advertisement

Port E MOS Pull-Up Control Register (PEPCR)
Bit
:
7
PE7PCR PE6PCR PE5PCR PE4PCR PE3PCR PE2PCR PE1PCR PE0PCR
Initial value :
0
R/W
:
R/W
PEPCR is an 8-bit readable/writable register that controls the MOS input pull-up function
incorporated into port E on an individual bit basis.
When a PEDDR bit is cleared to 0 (input port setting) with 8-bit bus mode selected in modes 4, 5,
or 6, or in mode 7, setting the corresponding PEPCR bit to 1 turns on the MOS input pull-up for
the corresponding pin.
PEPCR is initialized to H'00 by a power-on reset, and in hardware standby mode. It retains its
prior state by a manual reset or in software standby mode.
10A.11.3 Pin Functions
Modes 4 to 6: In modes 4 to 6, when 8-bit access is designated and 8-bit bus mode is selected,
port E pins are automatically designated as I/O ports. Setting a PEDDR bit to 1 makes the
corresponding port E pin an output port, while clearing the bit to 0 makes the pin an input port.
When 16-bit bus mode is selected, the input/output direction specification by PEDDR is ignored,
and port E is designated for data I/O.
Port E pin functions in modes 4 to 6 are shown in figure 10A-20.
Port E
424
6
5
0
0
R/W
R/W
8-bit bus mode
PE7
(I/O)
PE6
(I/O)
PE5
(I/O)
PE4
(I/O)
PE3
(I/O)
PE2
(I/O)
PE1
(I/O)
PE0
(I/O)
Figure 10A-20 Port E Pin Functions (Modes 4 to 6)
4
3
0
0
R/W
R/W
R/W
16-bit bus mode
D7
(I/O)
D6
(I/O)
D5
(I/O)
D4
(I/O)
D3
(I/O)
D2
(I/O)
D1
(I/O)
D0
(I/O)
2
1
0
0
0
0
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents