[riot-notifications] [RIOT-OS/RIOT] cpu/stm32_common: add watchdog for stm32 (#11252)

Alexandre Abadie notifications at github.com
Fri Sep 13 08:34:09 CEST 2019


aabadie commented on this pull request.



> @@ -98,6 +98,23 @@ extern "C" {
 #endif
 /** @} */
 
+/**
+ * @name    WDT upper and lower bound times in ms
+ * @{
+ */
+/* Actual Lower Limit is ~100us so round up */
+#define NWDT_TIME_LOWER_LIMIT          (1U)
+#define NWDT_TIME_UPPER_LIMIT          (4U * US_PER_MS * 4096U * (1 << 6U) \
+                                        / CLOCK_LSI)
+/* Once enabled wdt can't be stopped */
+#define WDT_HAS_STOP                   (0U)

No that's fine, let's keep it

-- 
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/11252#discussion_r324051852
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190912/6a746f36/attachment.htm>


More information about the notifications mailing list