C8051F340/1/2/3/4/5/6/7
9.4.Power Management Modes
The
Although the
The internal oscillator can be placed in Suspend mode (see Section “14. Oscillators” on page 135). In Suspend mode, the internal oscillator is stopped until a
9.4.1. Idle Mode
Setting the Idle Mode Select bit (PCON.0) causes the
Idle mode is terminated when an enabled interrupt is asserted or a reset occurs. The assertion of an enabled interrupt will cause the Idle Mode Selection bit (PCON.0) to be cleared and the CPU to resume operation. The pending interrupt will be serviced and the next instruction to be executed after the return from interrupt (RETI) will be the instruction immediately following the one that set the Idle Mode Select bit. If Idle mode is terminated by an internal or external reset, the
If enabled, the Watchdog Timer (WDT) will eventually cause an internal watchdog reset and thereby termi- nate the Idle mode. This feature protects the system from an unintended permanent shutdown in the event of an inadvertent write to the PCON register. If this behavior is not desired, the WDT may be disabled by software prior to entering the Idle mode if the WDT was initially configured to allow this operation. This pro- vides the opportunity for additional power savings, allowing the system to remain in the Idle mode indefi- nitely, waiting for an external stimulus to wake up the system. Refer to Section “11.6. PCA Watchdog Timer Reset” on page 104 for more information on the use and configuration of the WDT.
9.4.2. Stop Mode
Setting the Stop Mode Select bit (PCON.1) causes the
If enabled, the Missing Clock Detector will cause an internal reset and thereby terminate the Stop mode. The Missing Clock Detector should be disabled if the CPU is to be put to in STOP mode for longer than the MCD timeout of 100 µsec.
96 | Rev. 0.5 |