RoboLib  1.0
Systick

file
robolib/systick.h

description
The systick modul is needed by several other modules (e.g. analog modul).

It continuously counts the ticks and gives back the current time since the last reset.

The internal systick variable is 16 bits wide. Therefore the highest possible value is 65535.

Setting the systick frequency to 100 Hz, one tick equals 10 ms and the maximum value equals 10 minutes, 55 seconds and 350 milliseconds.

dependencies
This modul depends on the following modules:

It uses the the following macros:

example
Here is an example for the overall usage.