Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Watchdog_sample_nocoverage by
wdt.h
00001 00002 #ifndef WDT_H 00003 #define WDT_H 00004 00005 // Simple Library for Watchdog 00006 // --------------------------- 00007 00008 // Initialise watchdog using 1KHz clock 00009 // To prevent overwriting, only a single write to the COPC register possible 00010 // 00011 void wdt_1sec() ; // 1024ms, not windowed, DEFAULT 00012 void wdt_256ms(); // 256ms, not windowed 00013 void wdt_32ms(); // 32ms, not windowed 00014 00015 // Kick (feed, reload) our watchdog timer 00016 void wdt_kick_all(); // full sequence 00017 void wdt_kickA(); // first part 00018 void wdt_kickB(); // second part 00019 00020 #endif
Generated on Tue Jul 19 2022 14:15:39 by
