diff -r 6787754b251b -r b6572d0336c3 doc/doxygen/html/sysdep_8h-source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/doxygen/html/sysdep_8h-source.html Mon Jun 04 17:59:50 2007 +0200 @@ -0,0 +1,51 @@ + +
+00001 #ifndef __sysdep_h__ +00002 #define __sysdep_h__ +00003 +00004 #include "config.h" +00005 +00006 #ifdef CANOPEN_BIG_ENDIAN +00007 +00008 /* Warning: the argument must not update pointers, e.g. *p++ */ +00009 +00010 #define UNS16_LE(v) ((((UNS16)(v) & 0xff00) >> 8) | \ +00011 (((UNS16)(v) & 0x00ff) << 8)) +00012 +00013 #define UNS32_LE(v) ((((UNS32)(v) & 0xff000000) >> 24) | \ +00014 (((UNS32)(v) & 0x00ff0000) >> 8) | \ +00015 (((UNS32)(v) & 0x0000ff00) << 8) | \ +00016 (((UNS32)(v) & 0x000000ff) << 24)) +00017 +00018 #else +00019 +00020 #define UNS16_LE(v) (v) +00021 +00022 #define UNS32_LE(v) (v) +00023 +00024 #endif +00025 +00026 #endif /* __sysdep_h__ */ +00027 +