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

Alexandre Abadie notifications at github.com
Thu Sep 12 19:03:46 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 stoped*/

s/stoped/stopped / (note the space added at the end ;) )

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


More information about the notifications mailing list