Gpsr0 bit definitions -10, Gpsr1 bit definitions -10 – Intel PXA255 User Manual

Page 114

Advertising
background image

4-10

Intel® PXA255 Processor Developer’s Manual

System Integration Unit

When a GPIO is configured as an output, the state of the pin can be controlled by writing to either
the GPSR or GPCR. An output pin is set high by writing a one to its corresponding bit within the
GPSR. To clear an output pin, a one is written to the corresponding bit within the GPCR. GPSR
and GPCR are write-only registers. Reads return unpredictable values.

Writing a zero to any of the GPSR or GPCR bits has no effect on the state of the pin. Writing a one
to a GPSR or GPCR bit corresponding to a pin that is configured as an input is effective only after
the pin is configured as an output. Reserved bits (GPSR2[31:17] and GPCR2[31:17]), must be
written with zeros and reads must be ignored.

Table 4-9

,

Table 4-10

, and

Table 4-11

show the bit definitions of GPSR0, GPSR1, and GPSR2.

Table 4-12

,

Table 4-13

, and

Table 4-14

show the bit definitions of GPCR0, GPCR1, and GPCR2.

Table 4-9. GPSR0 Bit Definitions

Physical Address

0x40E0_0018

GPSR0

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

PS3

1

PS3

0

PS2

9

PS2

8

PS2

7

PS2

6

PS2

5

PS2

4

PS2

3

PS2

2

PS2

1

PS2

0

PS1

9

PS1

8

PS1

7

PS1

6

PS1

5

PS1

4

PS1

3

PS1

2

PS1

1

PS1

0

PS9

PS8

PS7

PS6

PS5

PS4

PS3

PS2

PS1

PS0

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>

PS[x]

GPIO Pin ‘x’ Output Pin Set (where x= 0 through 31).

0 – Pin level unaffected.
1 – If pin configured as an output, set pin level high (one).

Table 4-10. GPSR1 Bit Definitions

Physical Address

0x40E0_001C

GPSR1

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

PS

6

3

PS

6

2

PS

6

1

PS

6

0

PS

5

9

PS

5

8

PS

5

7

PS

5

6

PS

5

5

PS

5

4

PS

5

3

PS

5

2

PS

5

1

PS

5

0

PS

4

9

PS

4

8

PS

4

7

PS

4

6

PS

4

5

PS

4

4

PS

4

3

PS

4

2

PS

4

1

PS

4

0

PS

3

9

PS

3

8

PS

3

7

PS

3

6

PS

3

5

PS

3

4

PS

3

3

PS

3

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>

PS[x]

GPIO Pin ‘x’ Output Pin Set (where x= 32 through 63).

0 – Pin level unaffected.
1 – If pin configured as an output, set pin level high (one).

Advertising