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

Francisco notifications at github.com
Tue May 5 14:11:33 CEST 2020


@fjmolinas commented on this pull request.



> +#define ZTIMER_USEC_BASE_FREQ   (XTIMER_HZ)
+#else
+#define ZTIMER_USEC_BASE_FREQ   (1000000LU)
+#endif /* XTIMER_HZ */
+
+/**
+ * @brief   Base ztimer for the millisecond clock
+ */
+extern ztimer_clock_t *const ZTIMER_MSEC_BASE;
+
+/**
+ * @def     ZTIMER_MSEC_BASE_FREQ
+ *
+ * @brief   The frequency of the base ztimer for ZTIMER_MSEC
+ */
+#ifdef MODULE_PERIPH_RTT

done

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


More information about the notifications mailing list