[riot-notifications] [RIOT-OS/RIOT] sys/ztimer: expose ZTIMER_MSEC/USEC_BASE (#13990)

Francisco notifications at github.com
Tue May 5 12:27:38 CEST 2020


@fjmolinas commented on this pull request.



> + *
+ * When scheduling an ISR every timer will be set to max("min", value).
+ *
+ * This is supposed to be defined per-device in e.g., board.h.
+ */
+#ifndef CONFIG_ZTIMER_USEC_MIN
+#define CONFIG_ZTIMER_USEC_MIN          (10)
+#endif
+
+/**
+ * @brief   ZTIMER_USEC base timer width
+ */
+#ifndef CONFIG_ZTIMER_USEC_WIDTH
+#  if (TIMER_0_MAX_VALUE) == 0xFFFF
+#    define CONFIG_ZTIMER_USEC_WIDTH        (16)
+#    define XTIMER_WIDTH (24)

copy pasta

-- 
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/13990#discussion_r420008942
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200505/f2bbcb99/attachment.htm>


More information about the notifications mailing list