NNP STM Generic Remote Module git-main
Loading...
Searching...
No Matches
timer_driver.h File Reference
#include "timerscfg.h"
#include "timer.h"

Go to the source code of this file.

Functions

void EnterMutex (void)
 Acquire mutex.
 
void LeaveMutex (void)
 Release mutex.
 
void WaitReceiveTaskEnd (TASK_HANDLE *)
 
void TimerInit (void)
 Initialize Timer.
 
void TimerCleanup (void)
 Cleanup Timer.
 
void StartTimerLoop (TimerCallback_t Callback)
 Start the timer task.
 
void StopTimerLoop (TimerCallback_t Callback)
 Stop the timer task.
 
void CreateReceiveTask (CAN_PORT port, TASK_HANDLE *handle, void *ReceiveLoopPtr)
 Stop the timer task.
 

Detailed Description

Created on: Oct 9, 2024 Author: jenej

Definition in file timer_driver.h.

Function Documentation

◆ CreateReceiveTask()

void CreateReceiveTask ( CAN_PORT port,
TASK_HANDLE * handle,
void * ReceiveLoopPtr )

Stop the timer task.

Parameters
portCanFestival file descriptor
*handlehandle of receive loop thread
*ReceiveLoopPtrPointer on the receive loop function