ATmega128 Idle Mode

Publisher:悦耳旋律Latest update time:2021-11-04 Source: eefocusKeywords:ATmega128 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

When SM2..0 is 000, the SLEEP instruction will put the MCU into idle mode. In this mode, the CPU stops running, while SPI, USART, analog comparator, ADC, two-wire interface, timer/counter, watchdog and interrupt system continue to work. This sleep mode only stops clkCPU and clkFLASH, and other clocks continue to work.


Internal and external interrupts can wake up the MCU. If the MCU does not need to be woken up by the analog comparator interrupt, the power supply of the comparator can be cut off to reduce power consumption. The method is to set the ACD bit of the analog comparator control and status register ACSR. If the ADC is enabled, a conversion will be automatically started after entering this mode.


Keywords:ATmega128 Reference address:ATmega128 Idle Mode

Previous article:ATmega128 ADC Noise Suppression Mode
Next article:ATmega128 MCU Control Register MCUCR

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号