[riot-notifications] [RIOT-OS/RIOT] cpu/sam0_common: move PWM to common code, add support for saml21, samd5x (#14007)

benpicco notifications at github.com
Sun May 3 21:03:50 CEST 2020


@benpicco commented on this pull request.



> +#ifdef MCLK_APBCMASK_TCC3
+#define MCLK_TCC3      (&MCLK->APBCMASK.reg)
+#define MCLK_TCC3_MASK (MCLK_APBCMASK_TCC3)
+#endif
+#ifdef MCLK_APBDMASK_TCC3
+#define MCLK_TCC3      (&MCLK->APBDMASK.reg)
+#define MCLK_TCC3_MASK (MCLK_APBDMASK_TCC3)
+#endif
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TIMER_CONFIG_H */
+/** @} */

To allow for a generic `TCC_CONFIG` (and later `TC_CONFIG`) macro.

-- 
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/14007#discussion_r419145158
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200503/00bf15dc/attachment.htm>


More information about the notifications mailing list