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

benpicco notifications at github.com
Mon May 27 13:06:42 CEST 2019


benpicco commented on this pull request.



> + *                           for NORMAL watchdog operation
+ * @param[in] max_time       upper bound for WINDOWED watchdog in ms, time before
+ *                           reset for NORMAL watchdog
+ */
+void wdt_setup_reboot(uint32_t min_time, uint32_t max_time);
+
+#ifdef MODULE_PERIPH_WDT_CB
+/**
+ * @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 ms, has to be 0
+ *                           for NORMAL watchdog.
+ * @param[in] max_time       upper bound for WINDOWED watchdog in ms, time before
+ *                           reset for NORMAL watchdog.
+ * @param[in] cb _time       time before wdt_cb is executed, must.

I think this sentence should go on as

> must be < `max_time`, may be ignored if `min_time` > 0

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11527#pullrequestreview-242221847
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190527/cbe2bb44/attachment-0001.html>


More information about the notifications mailing list