ArduinoCore-avr
ArduinoCore-avr copied to clipboard
Expose MCUSR register to applications using GPIOR0
This allows applications to handle reset reasons, e.g. watchdog, reset button, ... by reading a general purpose register (GPIOR0) without affecting current MCUSR implementation.