December 2015
Beginner to intermediate
650 pages
18h 28m
English
This chapter discusses the power-saving modes of the PIC32, namely Sleep and Idle, and their relationship to the watchdog timer (WDT). In both Sleep and Idle, the CPU stops executing instructions. Peripherals can be configured to turn off during Idle, further saving power. In Sleep mode, the system and peripheral bus clocks halt, and only peripherals that do not depend on these clocks can continue to function. External events can wake the PIC32. This chapter describes the special function registers (SFRs) that control the operation of the PIC32 during Sleep and Idle, and it provides sample code that demonstrates how the WDT can be used to wake the PIC32 from Sleep or to allow the PIC32 ...
Read now
Unlock full access