[riot-notifications] [RIOT-OS/RIOT] TI CC3200 SimpleLink RIOT support (#11866)

benpicco notifications at github.com
Mon Jul 29 14:43:15 CEST 2019


benpicco commented on this pull request.



> +
+#ifndef CC3200_PRCM_H
+#define CC3200_PRCM_H
+
+#include "cc3200.h"
+#include "vendor/hw_memmap.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @brief convert x usecs to cpu cycles
+ *
+ */
+#define USEC_TO_CPU_CYCLES(x) (80 * x) / 3

Shouldn't this take `CLOCK_CORECLOCK` into account? 

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


More information about the notifications mailing list