Embedded system programming,electronics DIY, ARM, Arduino, STM32, 8051, STM8,module, shield, development board.
As far as I know, SLEEP mode and HALT mode are designed to save power. Because SLEEP mode usually closes more peripherals, SLEEP mode can save more power than HALT mode.
Sleep (eg, Thread.sleep(long) in Java) causes the thread to stop execution for a finite amount of time, while halt (eg, HLT in x86 processors' assembly language) causes the processor to stop all execution until reset.
Users browsing this forum: Bing [Bot] and 1 guest