/** EMU convenience functions * * These functions can be used to send the chip to low energy modes. * * @todo Implement other sleep modes than EM1. Implement WFI vs WFE waits. * * @defgroup EFM32TG_EMU_convenience EMU convenience functions * @{ */ /** Put the system into EM1 low energy mode. */ static void emu_sleep_em1(void) { /* FIXME: set SLEEPDEEP to 0 */ __asm__("wfi"); } /** @} */