/** * \file timer.h * \brief Header file for the timer functions * \author Remi KEAT */ #ifndef TIMER_H_ #define TIMER_H_ #include "lcd.h" int OSWait(int n); /* Timer OSAttachTimer(int scale, (*fct)(void)); // Add fct to 100Hz/scale timer int OSDetachTimer(Timer handle) // Remove fct from 100Hz/scale timer int OSSetTime(int hrs,int mins,int secs); // Set system time int OSGetTime(int *hrs,int *mins,int *secs,int *ticks); // Get system time (ticks in 1/100 sec) int OSShowTime(void); // Print time on LCD int OSGetCount(void); // Count in 1/100 sec since system start */ #endif /* TIMER_H_ */