equal
deleted
inserted
replaced
21 */ |
21 */ |
22 |
22 |
23 #ifndef __timer_driver_h__ |
23 #ifndef __timer_driver_h__ |
24 #define __timer_driver_h__ |
24 #define __timer_driver_h__ |
25 |
25 |
|
26 #include "timerscfg.h" |
26 #include "timer.h" |
27 #include "timer.h" |
27 /*void initTimer();*/ |
28 /*void initTimer();*/ |
28 |
29 |
29 // For use from CAN driver |
30 // For use from CAN driver |
30 void EnterMutex(void); |
31 void EnterMutex(void); |
31 void LeaveMutex(void); |
32 void LeaveMutex(void); |
32 void WaitReceiveTaskEnd(TASK_HANDLE*); |
33 void WaitReceiveTaskEnd(TASK_HANDLE); |
33 |
34 |
34 // For use from application |
35 // For use from application |
35 void StartTimerLoop(TimerCallback_t init_callback); |
36 void StartTimerLoop(TimerCallback_t init_callback); |
36 void StopTimerLoop(void); |
37 void StopTimerLoop(void); |
37 void CreateReceiveTask(CAN_HANDLE fd0, TASK_HANDLE *ReceiveLoop_task); |
38 void CreateReceiveTask(CAN_PORT , TASK_HANDLE* , void* ); |
38 |
39 |
39 #endif |
40 #endif |