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

Francisco notifications at github.com
Wed May 15 16:49:00 CEST 2019

fjmolinas commented on this pull request.

> +
+ * @brief    Stop watchdog timer
+ */
+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

Looking at datasheet for other platforms max timeout can vary. It goes up to some seconds for ATMEGA, STM32. Hours for MSP430, nd for KINETIS since it has a 32bit counter running from the LPO (1Khz) the max timeout can be set to many days. NRF can go up to 50hrs approx. For ESP I'm not very clear... seems to depend if its clocked from the RTC or BUS clock and goes between ms and s.

In that case using uin32_t for us would be a constraint since the max achievable time would be a little more than 1 hour and since platforms that can go under ms only go around 100us, it woyld make sense to use ms as the base unit instead of us.

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/d4055030/attachment-0001.html>

More information about the notifications mailing list