NNP STM Generic Remote Module git-main
Loading...
Searching...
No Matches
timer_driver.h
Go to the documentation of this file.
1
8#ifndef INC_TIMER_DRIVER_H_
9#define INC_TIMER_DRIVER_H_
10
11#include "timerscfg.h"
12#include "timer.h"
13
14// For use from CAN driver
15
16
21void EnterMutex(void);
22
27void LeaveMutex(void);
28
29void WaitReceiveTaskEnd(TASK_HANDLE*);
30
35void TimerInit(void);
36
41void TimerCleanup(void);
42
48void StartTimerLoop(TimerCallback_t Callback);
49
55void StopTimerLoop(TimerCallback_t Callback);
56
63void CreateReceiveTask(CAN_PORT port, TASK_HANDLE* handle, void* ReceiveLoopPtr);
64
65#endif /* INC_TIMER_DRIVER_H_ */
void TimerInit(void)
Initialize Timer.
void LeaveMutex(void)
Release mutex.
void StopTimerLoop(TimerCallback_t Callback)
Stop the timer task.
void TimerCleanup(void)
Cleanup Timer.
void EnterMutex(void)
Acquire mutex.
void StartTimerLoop(TimerCallback_t Callback)
Start the timer task.
void CreateReceiveTask(CAN_PORT port, TASK_HANDLE *handle, void *ReceiveLoopPtr)
Stop the timer task.