diff -r f45fd4cd3832 -r 34654679f262 doc/doxygen/html/unix_2applicfg_8h-source.html --- a/doc/doxygen/html/unix_2applicfg_8h-source.html Fri Jul 06 10:53:15 2007 +0200 +++ b/doc/doxygen/html/unix_2applicfg_8h-source.html Mon Jul 16 08:56:03 2007 +0200 @@ -18,7 +18,7 @@
00001 /* 00002 This file is part of CanFestival, a library implementing CanOpen Stack. 00003 @@ -46,80 +46,81 @@ 00025 00026 #include <string.h> 00027 #include <stdio.h> -00028 -00029 /* Define the architecture : little_endian or big_endian -00030 ----------------------------------------------------- -00031 Test : -00032 UNS32 v = 0x1234ABCD; -00033 char *data = &v; -00034 -00035 Result for a little_endian architecture : -00036 data[0] = 0xCD; -00037 data[1] = 0xAB; -00038 data[2] = 0x34; -00039 data[3] = 0x12; -00040 -00041 Result for a big_endian architecture : -00042 data[0] = 0x12; -00043 data[1] = 0x34; -00044 data[2] = 0xAB; -00045 data[3] = 0xCD; -00046 */ -00047 -00048 /* Integers */ -00049 #define INTEGER8 char -00050 #define INTEGER16 short -00051 #define INTEGER24 -00052 #define INTEGER32 long -00053 #define INTEGER40 -00054 #define INTEGER48 -00055 #define INTEGER56 -00056 #define INTEGER64 -00057 -00058 /* Unsigned integers */ -00059 #define UNS8 unsigned char -00060 #define UNS16 unsigned short -00061 #define UNS32 unsigned long -00062 #define UNS24 -00063 #define UNS40 -00064 #define UNS48 -00065 #define UNS56 -00066 #define UNS64 -00067 -00068 /* Reals */ -00069 #define REAL32 float -00070 #define REAL64 double -00071 -00072 /* Definition of error and warning macros */ -00073 /* -------------------------------------- */ -00074 #if defined DEBUG_ERR_CONSOLE_ON || defined DEBUG_WAR_CONSOLE_ON -00075 #include <stdio.h> -00076 #endif -00077 -00078 /* Definition of MSG_ERR */ -00079 /* --------------------- */ -00080 #ifdef DEBUG_ERR_CONSOLE_ON -00081 # define MSG_ERR(num, str, val) \ -00082 printf("%s,%d : 0X%x %s 0X%x \n",__FILE__, __LINE__,num, str, val); -00083 #else -00084 # define MSG_ERR(num, str, val) -00085 #endif -00086 -00087 /* Definition of MSG_WAR */ -00088 /* --------------------- */ -00089 #ifdef DEBUG_WAR_CONSOLE_ON -00090 # define MSG_WAR(num, str, val) \ -00091 printf("%s,%d : 0X%x %s 0X%x \n",__FILE__, __LINE__,num, str, val); -00092 #else -00093 # define MSG_WAR(num, str, val) -00094 #endif -00095 -00096 typedef void* CAN_HANDLE; -00097 -00098 typedef void* CAN_PORT; -00099 -00100 #endif -