Gplr1 bit definitions -8, Gplr2 bit definitions -8 – Intel PXA255 User Manual

Page 112

Advertising
background image

4-8

Intel® PXA255 Processor Developer’s Manual

System Integration Unit

This is read/write register. Ignore reads from reserved bits. Write zeros to reserved bits.

4.1.3.2

GPIO Pin Direction Registers (GPDR0, GPDR1, GPDR2)

GPDR0, GPDR1, GPDR2, shown in

Table 4-6

,

Table 4-7

, and

Table 4-8

, control whether a pin is

an input or an output. The GPDR contain one direction control bit for each of the 81 GPIO pins. If
a direction bit is programmed to a one, the GPIO is an output. If it is programmed to a zero, it is an
input. Reserved bits (GPDR2[31:17]), must be written to zeros and reads to the reserved bits must
be ignored.

Note:

A reset clears all bits in the GPDR0-2 registers and configures all GPIO pins as inputs.

Table 4-4. GPLR1 Bit Definitions

Physical Address

0x40E0_0004

GPLR1

System Integration Unit

Bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

PL6

3

PL6

2

PL6

1

PL6

0

PL5

9

PL5

8

PL5

7

PL5

6

PL5

5

PL5

4

PL5

3

PL5

2

PL5

1

PL5

0

PL4

9

PL4

8

PL4

7

PL4

6

PL4

5

PL4

4

PL4

3

PL4

2

PL4

1

PL4

0

PL3

9

PL3

8

PL3

7

PL3

6

PL3

5

PL3

4

PL3

3

PL3

2

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Bits

Name

Description

<31:0>

PL[x]

GPIO Pin Level ‘x’ (where x = 32 to 63).

This read-only field indicates the current value of each GPIO.

0 – Pin state is low
1 – Pin state is high

Table 4-5. GPLR2 Bit Definitions

Physical Address

0x40E0_0008

GPLR2

System Integration Unit

Bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

reserved

PL8

4

PL8

3

PL8

2

PL8

1

PL8

0

PL7

9

PL7

8

PL7

7

PL7

6

PL7

5

PL7

4

PL7

3

PL7

2

PL7

1

PL7

0

PL6

9

PL6

8

PL6

7

PL6

6

PL6

5

PL6

4

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Bits

Name

Description

<31:21>

reserved

<20:0>

PL[x]

GPIO Pin Level ‘x’ (where x = 64 to 80).

This read-only field indicates the current value of each GPIO.

0 – Pin state is low
1 – Pin state is high

Advertising