Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

© 2006 Microchip Technology Inc. Advance Information DS39698A-page 10-9
Section 10. Power-Saving Features
Power-Saving
Features
10
10.6 DESIGN TIPS
Question 1:
What should my software do before entering Sleep or Idle mode?
Answer: Make sure that the sources intended to wake the device have their IE bits set. In
addition, make sure that the particular source of interrupt has the ability to wake the device.
Some sources do not function when the device is in Sleep mode.
If the device is to be placed in Idle mode, make sure that the ‘Stop in Idle’ control bit for each
device peripheral is properly set. These control bits determine whether the peripheral will
continue operation in Idle mode. See the individual peripheral sections of this manual for further
details.
Question 2:
How do I tell which peripheral woke the device from Sleep or Idle mode?
Answer: You can poll the IF bits for each enabled interrupt source to determine the source of
wake-up.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh