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

Francisco notifications at github.com
Wed May 15 15:41:51 CEST 2019


fjmolinas commented on this pull request.



> +typedef void(*wdt_cb_t)(void *arg);
+
+/**
+ * @brief    Start watchdog timer
+ */
+void wdt_start(void);
+
+/**
+ * @brief    Stop watchdog timer
+ */
+void wdt_stop(void);
+
+/**
+ * @brief    Reset the watchdog timer counter, delay system reset
+ */
+void wdt_kick(void);

I wasn't actually trying to make an analogy when naming it 'wdg_kick', I was thinking of kick as delay/postpone. But I get your point, I don't mind changing it to feed (although starvation doesn't seem to me like a nice outcome either hahaha)

-- 
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#discussion_r284260793
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190515/0589e54e/attachment.html>


More information about the notifications mailing list