LPC5411x Power measurement example
=======================

Example description
-------------------
This example is used to measure current of the chip from the different low power
modes. Different low power modes are: sleep, deep sleep, and
deep power down. Note that to measure current for deep power down mode a
system reset is required - the example will determine that this type of wakeup
occurred to properly handle the next wakeup event.

Sleep modes can be selected by changing the PDOWNMODE define. For this example,
the possible modes are POWER_SLEEP, POWER_DEEP_SLEEP, and
POWER_DEEP_POWER_DOWN.

This example focuses mainly on pin interrupt wakeup method to measure wakeup times 
but this example also implements RTC and uTICK wakeup methods. 

SPECIAL NOTES:
In sleep mode, all clocks are left enabled. The example tends to mostly use 
FRO as the main clock. The sleep mode example averages approximately 900 uA.

In deep sleep mode, the main clock (and other clocks) are disabled 
additional clocks are powered down over deep sleep
mode, use the WAKE button for wakeup. When using J5 (target) to power
the chip, the example uses approximately 12 uA.

In deep power down mode, All system clocks are disabled. Device wakeup
can occur by asserting the reset pin; RTC and BOD also can be used for
wakeup from this mode. The deep power down mode averages approximately 
300 nA.

Power measurement notes
-----------------------
1) Power measurement was taken by removing JS11 and JS9 and measuring current
across JP5, please put jumper on JP7 to restart the board and remove the jumper 
while measureing the current.
2) Power measurements above are for the processor only. The rest of the board was
powered by the standard board power supplies.

Special connection requirements
-------------------------------
There are no special connection requirements for this example.

Build procedures:
-----------------
Visit the at 'LPCOpen quickstart guides' [http://www.lpcware.com/content/project/lpcopen-platform-nxp-lpc-microcontrollers/lpcopen-v200-quickstart-guides]
to get started building LPCOpen projects.
