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.
Diff: Watchdog/Watchdog.h
- Revision:
- 0:a3b83d366423
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Watchdog/Watchdog.h Wed Dec 06 21:35:45 2017 +0000 @@ -0,0 +1,23 @@ +#ifndef _WATCHDOG_H_ +#define _WATCHDOG_H_ + +#include "globals.h" + +#include "mbed.h" +#include "stm32f4xx.h" + +class Watchdog { +public: + Watchdog(); + void kick(float s); + void kick(); +private: + IWDG_HandleTypeDef hiwdg; +}; + + + + + + +#endif /* _WATCHDOG_H_ */