arduino / ArduinoCore-avr

The Official Arduino AVR core
https://www.arduino.cc
1.25k stars 1.06k forks source link

Expose MCUSR register to applications using GPIOR0 #558

Open jpcornil-git opened 7 months ago

jpcornil-git commented 7 months ago

This allows applications to handle reset reasons, e.g. watchdog, reset button, ... by reading a general purpose register (GPIOR0) without affecting current MCUSR implementation.

CLAassistant commented 7 months ago

CLA assistant check
All committers have signed the CLA.