Datasheet

Rev. 3.00, 03/04, page 243 of 830
8.14 Port E
Port E functions as an 8-bit input/output port and also as an LPC input/output. Port E provides the
following register set.
Port E data direction register (PEDDR)
Port E output data register (PEODR)
Port E input data register (PEPIN)
8.14.1 Port E Data Direction Register (PEDDR)
PEDDR is used to specify the input/output attribute of each pin of port E.
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 a given bit of PEDDR is set to 1, the
corresponding pin will function as an output port, and
when cleared to 0, it will function as an input port.
This register is assigned to the same address as that
of PEPIN. When this address is read, the port E
states are returned.
8.14.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 a general output port.