Watchdog API



Setup and enable the hardware watchdog

void rexis_UserEnableWatchdog(void);

Pet the watchdog

void rexis_UserPetWatchdog(void);


The watchdog routines in the REXIS library are empty stubs; you must replace them with actual code for the watchdog to operate. As the watchdog is MCU-specific, ImageCraft provides some example implementations for different MCUs. They are located in <install root>\examples\REXIS\source\watchdog_examples\. Add the files specific for your MCU to the project file list. If no example exists, then you will have to implement it yourself. Fortunately, most vendors provide sample code for working with their watchdog system.