timers_win32.cpp File Reference

#include <windows.h>
#include <stdlib.h>
#include "applicfg.h"
#include "can_driver.h"
#include "timer.h"
#include "timers_driver.h"

Include dependency graph for timers_win32.cpp:

Go to the source code of this file.

Data Structures

class  ccritical_section
class  class_timers

Functions

void EnterMutex (void)
void LeaveMutex (void)
void CreateReceiveTask (CAN_HANDLE fd0, TASK_HANDLE *Thread, void *ReceiveLoopPtr)
void WaitReceiveTaskEnd (TASK_HANDLE Thread)
void StartTimerLoop (TimerCallback_t init_callback)
void StopTimerLoop (void)
void setTimer (TIMEVAL value)
TIMEVAL getElapsedTime (void)


Function Documentation

void CreateReceiveTask ( CAN_HANDLE  fd0,
TASK_HANDLE *  Thread,
void *  ReceiveLoopPtr 
)

Definition at line 78 of file timers_win32.cpp.

void EnterMutex ( void   ) 

Definition at line 64 of file timers_win32.cpp.

References CanFestival_mutex, and ccritical_section::enter().

Here is the call graph for this function:

TIMEVAL getElapsedTime ( void   ) 

Definition at line 238 of file timers_win32.cpp.

References class_timers::get_elapsed_time(), IO_PORTS_16, and TC4H.

Here is the call graph for this function:

void LeaveMutex ( void   ) 

Definition at line 69 of file timers_win32.cpp.

References CanFestival_mutex, and ccritical_section::leave().

Here is the call graph for this function:

void setTimer ( TIMEVAL  value  ) 

Definition at line 233 of file timers_win32.cpp.

References maxval, class_timers::set_timer(), and timer.

Here is the call graph for this function:

void StartTimerLoop ( TimerCallback_t  init_callback  ) 

Definition at line 219 of file timers_win32.cpp.

References EnterMutex(), initTimer(), LeaveMutex(), class_timers::resume_timer_thread(), SetAlarm(), class_timers::start_timer_thread(), and TIMEVAL.

Here is the call graph for this function:

void StopTimerLoop ( void   ) 

Definition at line 228 of file timers_win32.cpp.

References EnterMutex(), LeaveMutex(), class_timers::stop_timer_thread(), and timer.

Here is the call graph for this function:

void WaitReceiveTaskEnd ( TASK_HANDLE  Thread  ) 

Definition at line 84 of file timers_win32.cpp.


Generated on Mon Jul 2 19:10:20 2007 for CanFestival by  doxygen 1.5.1