[riot-notifications] [RIOT-OS/RIOT] sam0_common: make Timer implementation common across all sam0 MCUs (#11336)

Federico Pellegrin notifications at github.com
Sat Apr 6 09:33:00 CEST 2019


fedepell requested changes on this pull request.



> @@ -38,14 +38,22 @@ extern "C" {
  * @name    Timer peripheral configuration
  * @{
  */
-#define TIMER_NUMOF        (1U)
-#define TIMER_0_EN         1
+static const tc32_conf_t timer_config[] = {
+    {   /* Timer 0 - System Clock */
+        .dev            = TC0,

Here a:
`        .flags          = TC_CTRLA_MODE_COUNT32,`
Is missing.

-- 
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/11336#pullrequestreview-223532255
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190406/b4eb764f/attachment.html>


More information about the notifications mailing list