|
Microsoft Windows Embedded CE 6.0 Exam Preparation KitOn some embedded devices, the Suspend state corresponds to a true power-off state, in which case the system resumes with a cold boot. Reducing Power Consumption in Idle Mode To switch the device into reduced-power mode, Windows Embedded CE relies on the OEMIdle function, which the kernel calls when the scheduler has no threads to run. The OEMIdle function is a hardware-specific routine that depends on the capabilities of the platform. For example, if the system timer uses a fixed interval, then the OEMIdle function cannot really provide the expected power saving functionality because the system wakes up every time a timer interrupt occurs. On the other hand, if the processor supports programmable interval timers, you can use the kernel's dwReschedTime variable to specify the amount of time spent in reduced-power mode. On waking up from reduced-power mode, the system must update the kernel global variables used by the scheduler. This is particularly important for the CurMSec variable, which the system uses to keep track of the number of milliseconds since the last system boot ...» |
Код для вставки книги в блог HTML
phpBB
текст
|
|