[riot-notifications] [RIOT-OS/RIOT] sam0_common: make Timer implementation common across all sam0 MCUs (#11336)
notifications at github.com
Tue May 21 07:41:46 CEST 2019
fedepell commented on this pull request.
> + .gclk_ctrl = GCLK_CLKCTRL_ID_TC4_TC5,
+#if CLOCK_USE_PLL || CLOCK_USE_XOSC32_DFLL
+ .gclk_src = GCLK_CLKCTRL_GEN(1),
+ .prescaler = TC_CTRLA_PRESCALER_DIV1,
+ .gclk_src = GCLK_CLKCTRL_GEN(0),
+ .prescaler = TC_CTRLA_PRESCALER_DIV8,
+ .flags = TC_CTRLA_MODE_COUNT32,
+/* interrupt function name mapping */
+#define TIMER_0_ISR isr_tc4
+#define TIMER_NUMOF (sizeof(timer_config) / sizeof(timer_config))
/** @} */
Forgot to define TIMER_0_MAX_VALUE for this board?
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications