3 power manager wake-up enable register (pwer) – Intel PXA26X User Manual

Page 91

Advertising
background image

Intel® PXA26x Processor Family Developer’s Manual

3-25

Clocks and Power Manager

3.5.3

Power Manager Wake-Up Enable Register (PWER)

PWER, refer to

Table 3-9

, shows the location of all wake up source enable bits. If a GPIO is used

as a sleep-mode wake up source, program it as an input in the GPDR and set either one or both of
the corresponding bits in the PRER and PFER. When the IDAE bit is zero and a fault condition is
detected on the nVDD_FAULT or nBATT_FAULT pin, PWER is set to 0x0000 0003 and only
allows GP[1:0] as wake-up sources. When the IDAE bit is set, fault conditions on the
nVDD_FAULT or nBATT_FAULT pins do not affect wake-up sources. PWER is also set to
0x0000 0003 in hardware, watchdog, or GPIO resets.

Software should enable wake ups only for those GPIO pins that are configured as inputs during
sleep. Any GPIO pins that are configured as outputs during sleep, should have their associated
wake enable bits set to logic zero in all three PMU wake enable registers (PWER, PRER, and
PFER).

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

Table 3-9. PWER Bit Definitions

0x40F0_000C

PWER

Clocks and Power Manager

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

WE

R

T

C

Reserved

WE

15

WE

14

WE

13

WE

12

WE

1

1

WE

10

WE

9

WE

8

WE

7

WE

6

WE

5

WE

4

WE

3

WE

2

WE

1

WE

0

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

1

1

31

WERTC

RTC SLEEP MODE WAKE UP ENABLE:

0 – Wake up due to RTC alarm disabled.

1 – Wake up due to RTC alarm enabled.

Cleared on hardware, watchdog, and GPIO resets.

[30:16]

Reserved

[15:0]

WEx

SLEEP MODE WAKE UP ENABLE:

0 – Wake up due to GPx edge detect disabled.

1 – Wake up due to GPx edge detect enabled.

Set to 0x 0003 on hardware, watchdog, and GPIO resets.

Advertising