X-Git-Url: http://git.kpe.io/?p=avr_bc100.git;a=blobdiff_plain;f=BaseMegaFirmware%2FGCC%2Ftimebase.h;fp=BaseMegaFirmware%2FGCC%2Ftimebase.h;h=b5325eb0fbadacb67036b4d07100583dc3908fc8;hp=0000000000000000000000000000000000000000;hb=89173ec9cd6f33843bf27c45be0f2f9be3f5f0ce;hpb=7997f136b12114035265bd082c854bff95fd73dc diff --git a/BaseMegaFirmware/GCC/timebase.h b/BaseMegaFirmware/GCC/timebase.h new file mode 100644 index 0000000..b5325eb --- /dev/null +++ b/BaseMegaFirmware/GCC/timebase.h @@ -0,0 +1,11 @@ +#ifndef TIMEBASE_H_ +#define TIMEBASE_H_ + +#include + +#define TIMEBASE_DELTAT_MS 10 /* ms */ + +void timebase_init(void); +uint16_t timebase_get_tick(void); + +#endif