applicfg.h File Reference

#include <windows.h>
#include <string.h>
#include <stdio.h>

Include dependency graph for applicfg.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define INTEGER8   char
#define INTEGER16   short
#define INTEGER24   long
#define INTEGER32   long
#define INTEGER40   long long
#define INTEGER48   long long
#define INTEGER56   long long
#define INTEGER64   long long
#define UNS8   unsigned char
#define UNS16   unsigned short
#define UNS32   unsigned long
#define UNS24   unsigned long
#define UNS40   unsigned long long
#define UNS48   unsigned long long
#define UNS56   unsigned long long
#define UNS64   unsigned long long
#define REAL32   float
#define REAL64   double
#define sizeof_INTEGER24   3
#define sizeof_INTEGER40   5
#define sizeof_INTEGER48   6
#define sizeof_INTEGER56   7
#define sizeof_UNS24   3
#define sizeof_UNS40   5
#define sizeof_UNS48   6
#define sizeof_UNS56   7
#define INT24_2_32(a)   (a <= 0x7FFFFF ? a : a|0xFF000000)
#define INT40_2_64(a)   (a <= 0x0000007FFFFFFFFF ? a : a|0xFFFFFF0000000000)
#define INT48_2_64(a)   (a <= 0x00007FFFFFFFFFFF ? a : a|0xFFFF000000000000)
#define INT56_2_64(a)   (a <= 0x007FFFFFFFFFFFFF ? a : a|0xFF00000000000000)
#define INT32_2_24(a)   (a&0x00FFFFFF)
#define INT64_2_40(a)   (a&0x000000FFFFFFFFFF)
#define INT64_2_48(a)   (a&0x0000FFFFFFFFFFFF)
#define INT64_2_56(a)   (a&0x00FFFFFFFFFFFFFF)
#define CANFESTIVAL_DEBUG_MSG(num, str, val)
 Definition of error and warning macros.
#define MSG_WAR(num, str, val)
 Definition of MSG_WAR.
#define MSG_ERR(num, str, val)
 Definition of MSG_ERR.

Typedefs

typedef void * CAN_HANDLE
typedef void * CAN_PORT


Define Documentation

#define CANFESTIVAL_DEBUG_MSG ( num,
str,
val   ) 

Value:

{char msg[300];\
     unsigned long value = val;\
     sprintf(msg,"%s(%d) : 0x%X %s 0x%X\n",__FILE__, __LINE__,num, str, value);\
     OutputDebugString(msg);}
Definition of error and warning macros.

Definition at line 104 of file applicfg.h.

#define INT24_2_32 (  )     (a <= 0x7FFFFF ? a : a|0xFF000000)

Definition at line 84 of file applicfg.h.

#define INT32_2_24 (  )     (a&0x00FFFFFF)

Definition at line 89 of file applicfg.h.

#define INT40_2_64 (  )     (a <= 0x0000007FFFFFFFFF ? a : a|0xFFFFFF0000000000)

Definition at line 85 of file applicfg.h.

#define INT48_2_64 (  )     (a <= 0x00007FFFFFFFFFFF ? a : a|0xFFFF000000000000)

Definition at line 86 of file applicfg.h.

#define INT56_2_64 (  )     (a <= 0x007FFFFFFFFFFFFF ? a : a|0xFF00000000000000)

Definition at line 87 of file applicfg.h.

#define INT64_2_40 (  )     (a&0x000000FFFFFFFFFF)

Definition at line 90 of file applicfg.h.

#define INT64_2_48 (  )     (a&0x0000FFFFFFFFFFFF)

Definition at line 91 of file applicfg.h.

#define INT64_2_56 (  )     (a&0x00FFFFFFFFFFFFFF)

Definition at line 92 of file applicfg.h.

#define INTEGER16   short

Definition at line 50 of file applicfg.h.

#define INTEGER24   long

Definition at line 51 of file applicfg.h.

#define INTEGER32   long

Definition at line 52 of file applicfg.h.

#define INTEGER40   long long

Definition at line 53 of file applicfg.h.

#define INTEGER48   long long

Definition at line 54 of file applicfg.h.

#define INTEGER56   long long

Definition at line 55 of file applicfg.h.

#define INTEGER64   long long

Definition at line 56 of file applicfg.h.

#define INTEGER8   char

Definition at line 49 of file applicfg.h.

#define MSG_ERR ( num,
str,
val   ) 

Definition of MSG_ERR.

Definition at line 124 of file applicfg.h.

#define MSG_WAR ( num,
str,
val   ) 

Definition of MSG_WAR.

Definition at line 116 of file applicfg.h.

#define REAL32   float

Definition at line 69 of file applicfg.h.

#define REAL64   double

Definition at line 70 of file applicfg.h.

#define sizeof_INTEGER24   3

Definition at line 73 of file applicfg.h.

#define sizeof_INTEGER40   5

Definition at line 74 of file applicfg.h.

#define sizeof_INTEGER48   6

Definition at line 75 of file applicfg.h.

#define sizeof_INTEGER56   7

Definition at line 76 of file applicfg.h.

#define sizeof_UNS24   3

Definition at line 78 of file applicfg.h.

#define sizeof_UNS40   5

Definition at line 79 of file applicfg.h.

#define sizeof_UNS48   6

Definition at line 80 of file applicfg.h.

#define sizeof_UNS56   7

Definition at line 81 of file applicfg.h.

#define UNS16   unsigned short

Definition at line 60 of file applicfg.h.

#define UNS24   unsigned long

Definition at line 62 of file applicfg.h.

#define UNS32   unsigned long

Definition at line 61 of file applicfg.h.

#define UNS40   unsigned long long

Definition at line 63 of file applicfg.h.

#define UNS48   unsigned long long

Definition at line 64 of file applicfg.h.

#define UNS56   unsigned long long

Definition at line 65 of file applicfg.h.

#define UNS64   unsigned long long

Definition at line 66 of file applicfg.h.

#define UNS8   unsigned char

Definition at line 59 of file applicfg.h.


Typedef Documentation

typedef void* CAN_HANDLE

Definition at line 129 of file applicfg.h.

typedef void* CAN_PORT

Definition at line 131 of file applicfg.h.


Generated on Fri Jun 8 08:51:57 2007 for CanFestival by  doxygen 1.5.1