[riot-notifications] [RIOT-OS/RIOT] drivers/include: add header definition for wdt (#11527)

benpicco notifications at github.com
Wed May 15 15:17:04 CEST 2019

benpicco commented on this pull request.

> + */
+void wdt_stop(void);
+ * @brief    Reset the watchdog timer counter, delay system reset
+ */
+void wdt_kick(void);
+ * @brief    Set up the wdt timer, only use max_time if normal operation
+ *           set min_time and max_time for windowed timer.
+ *
+ * @param[in] min_time       lower bound for windowed watchdog in us
+ * @param[in] max_time       upper bound for windowed watchdog in us, time before
+ *                           reset for normal watchdog
+ * @param[in] wdt_cb         wdt callback

At least on sam0 the Watchdog will always trigger a reboot, even when the early warning interrupt (callback) is enabled.

The callback is optional, when set it will be called a set time (e.g. one period) before the watchdog timer expires.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190515/78afa1c7/attachment.html>

More information about the notifications mailing list