<p><b>@kaspar030</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/11874#discussion_r322627115">sys/ztimer/init.c</a>:</p>
<pre style='color:#555'>> +       define ZTIMER_USEC_CONVERT_BITS  9
+#    else
+#      error unhandled CONFIG_ZTIMER_USEC_FREQ!
+#    endif
+
+     static ztimer_periph_t _ztimer_usec_periph;
+#    define ZTIMER_USEC_INIT_PERIPH() \
+            ztimer_periph_init(&_ztimer_usec_periph, CONFIG_ZTIMER_USEC_DEV, \
+                             CONFIG_ZTIMER_USEC_FREQ)
+#    define _ZTIMER_USEC_DEV _ztimer_usec_periph
+#  else
+#    error unknown CONFIG_ZTIMER_USEC_TYPE!
+#  endif /* CONFIG_ZTIMER_USEC_TYPE == ZTIMER_TYPE_PERIPH */
+
+# if (CONFIG_ZTIMER_USEC_WIDTH == 32) && (ZTIMER_USEC_CONVERT_BITS == 0)
+    ztimer_dev_t *const ZTIMER_USEC = (ztimer_dev_t *) &_ZTIMER_USEC_DEV;
</pre>
<p>no, "dev" is ztimer_periph specific.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11874?email_source=notifications&email_token=ABE7WYAWNTP7H4M2ZIOVRXLQI5OTPA5CNFSM4IFFZPU2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEGARGQ#discussion_r322627115">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYF2NIA7GH7DDRGT2JDQI5OTPANCNFSM4IFFZPUQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYGIOJP7NO3BRUAMKRTQI5OTPA5CNFSM4IFFZPU2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEGARGQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11874?email_source=notifications\u0026email_token=ABE7WYAWNTP7H4M2ZIOVRXLQI5OTPA5CNFSM4IFFZPU2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEGARGQ#discussion_r322627115",
"url": "https://github.com/RIOT-OS/RIOT/pull/11874?email_source=notifications\u0026email_token=ABE7WYAWNTP7H4M2ZIOVRXLQI5OTPA5CNFSM4IFFZPU2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEGARGQ#discussion_r322627115",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>