50 #include "dev/watchdog.h" 
   67   WDTCONSET = _WDTCON_ON_MASK;
 
   73   WDTCONSET = _WDTCON_WDTCLR_MASK;
 
   79   WDTCONCLR = _WDTCON_ON_MASK;
 
   85   volatile int *p = (
int *)&RSWRST;
 
   89   if(!(DMACONbits.SUSPEND)){
 
   90     DMACONSET=_DMACON_SUSPEND_MASK; 
 
   91     while((DMACONbits.DMABUSY)) {
 
  100   RSWRSTSET=_RSWRST_SWRST_MASK;
 
void watchdog_start(void)
Starts the WDT in watchdog mode if enabled by user configuration, maximum interval. 
INTERRUPT interface for PIC32MX (pic32mx795f512l) 
void watchdog_reboot(void)
Keeps control until the WDT throws a reset signal. 
void watchdog_stop(void)
In watchdog mode, the WDT can not be stopped. 
void watchdog_periodic(void)
Writes the WDT clear sequence. 
void watchdog_init(void)
Copyright (c) 2014, Analog Devices, Inc.