// Switch to low power mode void lowPowerMode(void) { // Ensure all necessary peripherals are disabled or in low power state EMU_EnterEM2(true); // Enter EM2 (stop) mode }

#include "em_device.h" #include "em_cmu.h" #include "em_emu.h"

// Main application int main(void) { // Initialize EasyPWR initEasyPWR();

// Configure EasyPWR EMU_PowerDomainInit(); }

while (1) { // Application logic // ...

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.