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
- Committer:
- WilliamMarshQMUL
- Date:
- 2017-02-28
- Revision:
- 1:159a09ac60ba
File content as of revision 1:159a09ac60ba:
#ifndef WDT_H #define WDT_H // Simple Library for Watchdog // --------------------------- // Initialise watchdog using 1KHz clock // To prevent overwriting, only a single write to the COPC register possible // void wdt_1sec() ; // 1024ms, not windowed, DEFAULT void wdt_256ms(); // 256ms, not windowed void wdt_32ms(); // 32ms, not windowed // Kick (feed, reload) our watchdog timer void wdt_kick_all(); // full sequence void wdt_kickA(); // first part void wdt_kickB(); // second part #endif