static uint32_t timeElapsed(uint32_t now, uint32_t start)
Compute the number of counter ticks elapsed from start to now.
Definition elapsed_time.h:33
static bool hasIntervalElapsed(uint32_t now, uint32_t start, uint32_t interval)
Check whether at least interval counter ticks have elapsed since start.
Definition elapsed_time.h:49