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