There are four types of AVR microcontroller resets: power-on reset, power-off reset, watchdog timeout reset, and external reset.
Power-on reset: It is to reset the microcontroller when the power is turned on. This is the same as the function of our external RC reset circuit. The AVR microcontroller has a power-on reset function inside.
Power-off reset: When the voltage suddenly drops during the operation of the MCU, the MCU will have many uncertain phenomena, so it is necessary to reset the MCU to put it in a certain state. This is the BOD function, a very practical function, and the AVR MCU has this function.
Watchdog reset: This is what we often call a watchdog. When the program enters a certain place and there is no response for a long time, the microcontroller will be reset. The AVR microcontroller has a watchdog function.
External reset: Needless to say, this is to forcibly reset the microcontroller through the reset pin.
Old RC reset circuit: The external RC reset circuit can achieve the power-on reset function under normal power-on conditions, but it is powerless against the other types of reset mentioned above.
The AVR microcontroller has a fully functional reset circuit integrated inside, which can completely replace the professional reset circuit, not to mention the external RC circuit.
Therefore, the microcontroller can be used with confidence as long as a pull-up resistor is connected to the reset pin and the internal watchdog and BOD functions are turned on.
Previous article:AVR MCU SPI port read and write AT45DB161D interface programming
Next article:ICCAVR bit operation macro definition
- 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
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- [SC8905 EVM Review] + Unboxing and Power-on Test
- 【TI mmWave Radar Evaluation】+mmWave_Demo_Visualizer Usage
- Download the AMS 9 solution application guides for free and take them all away at once!
- MicroPython driver for LPS22
- Huada EVHC32F460 development board evaluation summary
- Four major predictions for the consumer MEMS market in 2021
- FPGA Implementation of Light Band Centerline Extraction in 3D Scanning Images
- RT-Thread system solves the problem that low-priority tasks cannot be suspended with high-priority tasks
- Automatically load Cadence Toolbox functional components
- Let's read together! ——Power supply design book recommendations