#include "wdt.h"
Functions | |
void | watchdog_init (void) |
Initiate the Watchdog timer, but does not start it. More... | |
void | watchdog_periodic (void) |
Reset the Watchdog timer count. More... | |
void | watchdog_reboot (void) |
Reboot the device. More... | |
void | watchdog_start (void) |
void | watchdog_stop (void) |
void watchdog_init | ( | void | ) |
Initiate the Watchdog timer, but does not start it.
References wdt_conf::always_on, wdt_conf::clock_source, GCLK_GENERATOR_4, INACTIVE, NOT_INITED, status, wdt_conf::timeout_period, wdt_get_config_defaults(), WDT_PERIOD_16384CLK, and wdt_set_config().
Referenced by watchdog_reboot().
void watchdog_periodic | ( | void | ) |
Reset the Watchdog timer count.
References ACTIVE, status, WDT_CLEAR, and WDT_CLEAR_MAGIC.
void watchdog_reboot | ( | void | ) |
Reboot the device.
References INACTIVE, NOT_INITED, status, watchdog_init(), watchdog_start(), and WDT_CLEAR.
void watchdog_start | ( | void | ) |
Referenced by watchdog_reboot().
void watchdog_stop | ( | void | ) |