4.8.0.0R6
Software Development Kit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
power_down

Detailed Description

The power_down module demonstrates how an application program can place restrictions on when the device powers down.

The application developer inserts code after "Insert your work here...". For example, the code might compose status and send it to a remote server. The work can take a variable length of time to complete. The processor will be kept powered up while the work is being performed. Then power down is allowed till s_timeBetweenWorkStartInMilliseconds has elapsed.

Build it from project "powerDownDemo".

To run it, go to Power Configuration, check the box in front of "Power Down Demo", enabling this application to hold the power on.