nico@207: nico@207:
nico@207:#include <windows.h>
#include <stdlib.h>
#include "applicfg.h"
#include "can_driver.h"
#include "timer.h"
#include "timers_driver.h"
nico@207: 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) |
void CreateReceiveTask | nico@207:( | nico@207:CAN_HANDLE | nico@207:fd0, | nico@207:|
nico@207: | nico@207: | TASK_HANDLE * | nico@207:Thread, | nico@207:|
nico@207: | nico@207: | void * | nico@207:ReceiveLoopPtr | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 78 of file timers_win32.cpp. nico@207:
void EnterMutex | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 64 of file timers_win32.cpp. nico@207:
nico@207: References CanFestival_mutex, and ccritical_section::enter(). nico@207:
TIMEVAL getElapsedTime | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 238 of file timers_win32.cpp. nico@207:
nico@207: References class_timers::get_elapsed_time(), IO_PORTS_16, and TC4H. nico@207:
void LeaveMutex | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 69 of file timers_win32.cpp. nico@207:
nico@207: References CanFestival_mutex, and ccritical_section::leave(). nico@207:
void setTimer | nico@207:( | nico@207:TIMEVAL | nico@207:value | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 233 of file timers_win32.cpp. nico@207:
nico@207: References maxval, class_timers::set_timer(), and timer. nico@207:
void StartTimerLoop | nico@207:( | nico@207:TimerCallback_t | nico@207:init_callback | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 219 of file timers_win32.cpp. nico@207:
nico@207: References EnterMutex(), initTimer(), LeaveMutex(), class_timers::resume_timer_thread(), SetAlarm(), class_timers::start_timer_thread(), and TIMEVAL. nico@207:
void StopTimerLoop | nico@207:( | nico@207:void | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 228 of file timers_win32.cpp. nico@207:
nico@207: References EnterMutex(), LeaveMutex(), class_timers::stop_timer_thread(), and timer. nico@207:
void WaitReceiveTaskEnd | nico@207:( | nico@207:TASK_HANDLE | nico@207:Thread | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 84 of file timers_win32.cpp. nico@207:
nico@207: