*
* \brief Watchdog interface for AVR architecture.
*
- * \note The AVR LibC already provvide the api to manange
- * the watchdog on AVR architecture. In LibC also define several
- * macro to set the timeout value (see documentation for more detail).
+ * \note The avr-libc already provide an api to manage the watchdog on AVR architecture.
+ * In avr-libc are also available several constants used to set the timeout value
+ * (see documentation for more detail).
*
* \version $Id$
*
/**
* Reset the watchdog timer.
*
- * This functions is already definded to avr libc,
- * we use it.
+ * This functions is already defind in avr-libc.
*/
// void wdt_reset(void)
* timeout.
*
* \param timeout, this value is target dependant.
- * See the target documentation for more detail.
+ * See the target documentation for more details.
*/
INLINE void wdt_start(uint32_t timeout)
{
/*
* Watchdog disable.
*
- * This function disable the watchdog timer, after a reset.
- * We should do it after the software reset (do with watchdog),
- * because in new AVR core do not reset the watchdog after
- * a cpu reset, so the watchdog timer remain enable resetting
- * every timeout time the cpu. This is necessary only with new
- * AVR core, for the other core this no have effect.
+ * This function disable the watchdog timer early after a reset.
+ * We must do it very soon because new AVR cores do not disable
+ * the watchdog timer after a cpu reset. In this way the watchdog
+ * timer is still enabled, continuously resetting the cpu. This is
+ * necessary only with new AVR cores, for other cores this code has
+ * no effect.
*
* \{
*/