AVR Software Framework: Reset Cause Service
Copyright © 2010 Atmel Corporation
Introduction
All AVR devices supports the reset cause service through a dedicated CPU register. This service abstracts the user from directly accessing the register and provides a generic reset cause interface usable on all AVR devices.