Microchip® Advanced Software Framework

watchdog.h File Reference
#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  )
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  )