Datasheet
Section 8 I/O Ports
Rev. 2.00 Aug. 20, 2008 Page 264 of 1198
REJ09B0403-0200
8.1.14 Port E
Port E is an 8-bit I/O port. Port E pins can also function as the LPC input/output pins. Port E has
the following registers.
• Port E data direction register (PEDDR)
• Port E output data register (PEODR)
• Port E input data register (PEPIN)
(1) Port E Data Direction Register (PEDDR)
The individual bits of PEDDR specify input or output for the port E pins.
Bit Bit Name Initial Value R/W Description
7 PE7DDR 0 W
6 PE6DDR 0 W
5 PE5DDR 0 W
4 PE4DDR 0 W
3 PE3DDR 0 W
2 PE2DDR 0 W
1 PE1DDR 0 W
0 PE0DDR 0 W
When set to 1, the corresponding pins function as
output port pins; when cleared to 0, function as input
port pins.
Since this register is allocated to the same address as
PEPIN, states of the port E pins are returned when
this register is read.
(2) Port E Output Data Register (PEODR)
PEODR stores output data for the port E pins.
Bit Bit Name Initial Value R/W Description
7 PE7ODR 0 R/W
6 PE6ODR 0 R/W
5 PE5ODR 0 R/W
4 PE4ODR 0 R/W
3 PE3ODR 0 R/W
2 PE2ODR 0 R/W
1 PE1ODR 0 R/W
0 PE0ODR 0 R/W
The PEODR register stores the output data for the
pins that are used as the general output port.










