Download Print this page

Advertisement

Section 8 I/O Ports
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
7
PE7DDR
6
PE6DDR
5
PE5DDR
4
PE4DDR
3
PE3DDR
2
PE2DDR
1
PE1DDR
0
PE0DDR
(2)
Port E Output Data Register (PEODR)
PEODR stores output data for the port E pins.
Bit
Bit Name
7
PE7ODR
6
PE6ODR
5
PE5ODR
4
PE4ODR
3
PE3ODR
2
PE2ODR
1
PE1ODR
0
PE0ODR
Rev. 1.00 Mar. 12, 2008 Page 262 of 1178
REJ09B0403-0100
Initial Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
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
Description
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.
Description
The PEODR register stores the output data for the
pins that are used as the general output port.

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472