[riot-notifications] [RIOT-OS/RIOT] cpu/cortexm_common: implement SysTick timer, add option to use it for XTIMER (#14553)

benpicco notifications at github.com
Mon Nov 9 17:37:26 CET 2020

@benpicco commented on this pull request.

> + * directory for more details.
+ */
+ * @defgroup    drivers_periph_systick SysTick Timer
+ * @ingroup     cpu_cortexm_common
+ * @ingroup     drivers_periph
+ * @brief       Low-level timer based on SysTick
+ *
+ * SysTick is a 24 bit down-counting timer that is implemented on every Cortex-M
+ * processor. It runs at the same frequency as the CPU and will generate an
+ * interrupt when it reaches zero.
+ *
+ * To comply with the RIOT timer interface that expects an up-counting, monotonic
+ * timer, SysTick is augmented by software to fulfill these requirements.
+ * This also adds a software prescaler to simulate arbitrary frequencies and introduces

ztimer still expects the timer to be up-counting, right? 

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201109/02a718fb/attachment.htm>

More information about the notifications mailing list