156
8.11
Port E
8.11.1
Overview
Port E is a 2-bit I/O port, configured as shown in figure 8.10.
PE
PE
3
2
Port E
Figure 8.10 Port E Pin Configuration
8.11.2
Register Configuration and Description
Table 8.27 shows the port E register configuration.
Table 8.27
Port E Registers
Name
Abbrev.
R/W
Initial Value
Address
Port data register E
PDRE
R/W
H'F0
H'FFD3
Port control register E
PCRE
W
H'F0
H'FFE3
Port Data Register E (PDRE)
Bit
7
6
5
4
3
2
1
0
—
—
—
—
PE
3
PE
2
—
—
Initial value
1
1
1
1
0
0
0
0
Read/Write
—
—
—
—
R/W
R/W
—
—
PDRE is a 2-bit register that stores data for port E pins PE
3
and PE
2
. If port E is read while PCRE
bits are set to 1, the values stored in PDRE are directly read, regardless of the actual pin states. If
port E is read while PCRE bits are cleared to 0, the pin states are read.
Upon reset, PDRE is initialized to H'F0.