Skip to main content Link Search Menu Expand Document (external link) Copy Copied

WATCHDOG

A simple watchdog.

A simple way to test the watchdog is to not call wdt_reset() and let it acts.

Summary

MembersDescriptions
public void wdt_first(void)This function is called upon a HARDWARE RESET:
public void wdt_init(void)initialize watchdog with some predefined time

Members

public void wdt_first(void)

This function is called upon a HARDWARE RESET:

Clear SREG_I on hardware reset.

public void wdt_init(void)

initialize watchdog with some predefined time