nico@215: nico@215: nico@215: CanFestival: include/win32/timerscfg.h Source File nico@215: nico@215: nico@215: nico@215: nico@215:
nico@215:
nico@215:
nico@215:
nico@215: nico@215:

timerscfg.h

Go to the documentation of this file.
00001 /*
nico@215: 00002 This file is part of CanFestival, a library implementing CanOpen Stack.
nico@215: 00003 
nico@215: 00004 Copyright (C): Edouard TISSERANT and Francis DUPIN
nico@215: 00005 Win32 port by Leonid Tochinski
nico@215: 00006 
nico@215: 00007 See COPYING file for copyrights details.
nico@215: 00008 
nico@215: 00009 This library is free software; you can redistribute it and/or
nico@215: 00010 modify it under the terms of the GNU Lesser General Public
nico@215: 00011 License as published by the Free Software Foundation; either
nico@215: 00012 version 2.1 of the License, or (at your option) any later version.
nico@215: 00013 
nico@215: 00014 This library is distributed in the hope that it will be useful,
nico@215: 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of
nico@215: 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
nico@215: 00017 Lesser General Public License for more details.
nico@215: 00018 
nico@215: 00019 You should have received a copy of the GNU Lesser General Public
nico@215: 00020 License along with this library; if not, write to the Free Software
nico@215: 00021 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
nico@215: 00022 */
nico@215: 00023 
nico@215: 00024 #ifndef __TIMERSCFG_H__
nico@215: 00025 #define __TIMERSCFG_H__
nico@215: 00026 
nico@215: 00027 #include <windows.h>
nico@215: 00028 
nico@215: 00029 // Time unit : us
nico@215: 00030 // Time resolution : 64bit (~584942 years)
etisserant@240: 00031 #define TIMEVAL unsigned long long
etisserant@240: 00032 #define TIMEVAL_MAX ~(TIMEVAL)0
etisserant@240: 00033 #define MS_TO_TIMEVAL(ms) ms*1000
etisserant@240: 00034 #define US_TO_TIMEVAL(us) us
nico@215: 00035 
etisserant@240: 00036 #define TASK_HANDLE HANDLE
nico@215: 00037 
nico@215: 00038 #endif
etisserant@240: 

Generated on Mon Jul 2 19:10:16 2007 for CanFestival by  nico@215: nico@215: doxygen 1.5.1
nico@215: nico@215: