* This file contains all the declarations of the functions related with\r
* the tesh timer type.\r
*\r
- */\r
- \r
+ */ \r
+ \r
#ifndef __TIMER_H\r
#define __TIMER_H\r
-\r
+ \r
#include <com.h>\r
-\r
+ \r
#ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
-\r
+extern "C" {
+ \r
+#endif /* \r */
+ \r \r
/*! \brief timer_new - create a new timer.\r
*\r
* \param command The command to keep a wath.\r
* [EINVAL] if the parameter is invalid.\r
* [ENOMEM] if the system has not enough space to allocate\r
* the timer.\r
- */\r
-ttimer_t\r
-timer_new(command_t command);\r
-\r
+ */ \r
+ ttimer_t \r timer_new(command_t command);
+ \r \r
/*! \brief timer_free - destroy a timer object.\r
*\r
* \param ptr A pointer to the timer object to destroy.\r
* [EINVAL] if the timer object pointed to by the parameter ptr is invalid.\r
* \r
* \r
- */\r
-int\r
-timer_free(ttimer_t* ptr);\r
-\r
-void\r
-timer_time(ttimer_t timer);\r
-\r
-void\r
-timer_wait(ttimer_t timer);\r
-\r
+ */ \r
+ int \r timer_free(ttimer_t * ptr);
+ \r \r void \r timer_time(ttimer_t timer);
+ \r \r void \r timer_wait(ttimer_t timer);
+ \r \r
#ifdef __cplusplus\r
-}\r
-#endif\r
-\r
-\r
-#endif /* !__TIMER_H */\r
+} \r
+#endif /* \r */
+\r \r
+#endif /* !__TIMER_H */\r