systick: provide access to a global count of systick cycles
authorCyprien Laplace <cyprien@cypou.net>
Tue, 16 Dec 2014 12:56:41 +0000 (07:56 -0500)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:04 +0000 (17:03 +0100)
commit7cc6f95a7381d5beb10c11519a4980278f8b97cc
tree91cd1a44abc8b9fae94136a162323f629ce4cef5
parentae4d617f72ba934dc9e1bc394c87a2dd9fd70e64
systick: provide access to a global count of systick cycles

System tick is now maintening a global count of cycles at main clock
frequency, independantly of the systick timer interrupt frequency.

The number of cycles can be obtained using systick_get_tick_cycles().
core/systick.c
include/core/system.h