Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Reset reason for atmega 32u4

dr pepper

Advanced Member level 1
Joined
Mar 15, 2010
Messages
420
Helped
34
Reputation
68
Reaction score
40
Trophy points
1,308
Location
lancs
Activity points
4,128
Is there a register within this chip I can read to determine the cause of the reset.
I want to determine a power on reset from a brownout reset.
 
Thanks I found it, but didnt you mean MCUSR.
Arduino IDE recognizes MCUSR and can just be read into a variable, and the 6 causes of a reset can easily be determined.
I expected it to be harder somehow.
 

LaTeX Commands Quick-Menu:

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top