embeddedlibrary
reusable software modules for embedded systems
timing.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define tint_t   uint32_t
 
#define TIME_MAX   0xFFFFFFFFU
 

Functions

void Timing_Init (void)
 Initialize the timing module. More...
 
uint32_t TimeNow (void)
 Returns the current system time in milliseconds. More...
 
uint32_t TimeSince (tint_t t)
 Get the elapsed time. More...
 
void DelayMs (tint_t delay)
 Delay a specific number of milliseconds. More...
 
void Timing_Roll (void)