When SM2..0 is 000, the SLEEP instruction will put the MCU into idle mode. In this mode, the CPU stops running, while the LCD controller, SPI, USART, analog comparator, ADC, USI, timer/counter, watchdog and interrupt system continue to work. This sleep mode only stops clkCPU and clkFLASH, while other clocks continue to work.
Internal and external interrupts such as timer overflow and USART transfer completion 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 ACD of the analog comparator control and status register ACSR. If the ADC is enabled, a conversion will be automatically started after entering this mode.
Previous article:ATmega16 ADC Noise Suppression Mode
Next article:ATmega16 MCU Control Register MCUCR
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- ASML predicts that its revenue in 2030 will exceed 457 billion yuan! Gross profit margin 56-60%
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- 【GD32L233C-START Review】17. Completed work: Indoor environment monitoring equipment
- [Atria AT32WB415 Series Bluetooth BLE 5.0 MCU] Part 3: Lightble Control OLED Display
- Car sunlight sensor, urgent help
- Communication Principles_matlab.pdf
- Flyback power supply saber simulation
- Fundamentals of Spectrum Analysis
- Linux/UNIX System Programming Manual (Volumes 1 and 2)
- TMS320C6000 chip structure diagram and basic characteristics
- [ESK32-360 Review] + Serial communication and applications
- EEWORLD University Hall----Live Replay: TI's new generation of low-power Bluetooth microcontrollers helps you reduce application costs