Sensix
Wireless Sensor Network Middleware



   Home


   Project Page


   Download


   CVS




 Hosted by
Get SENSIX at SourceForge.net. Fast, secure 
and Free Open Source software downloads

/home/brennan/Software/sensix/source/sense_endian.h File Reference

#include <stdint.h>

Go to the source code of this file.

Defines

#define WORDSIZE   4
#define WORD   int32_t
#define host_rep(x)


Define Documentation

#define host_rep (  ) 

Value:

do {                                    \
      if (ones_complement())                    \
        (x) -= 1;                               \
      else if (signed_magnitude()) {            \
        uint8_t *ptr = (uint8_t*)&(x);          \
        (x) -= 1;                               \
        (x) = ~(x);                             \
        ptr[0] |= 0x80;                         \
      }                                         \
    } while(0)

Definition at line 131 of file sense_endian.h.

#define WORD   int32_t

Definition at line 62 of file sense_endian.h.

#define WORDSIZE   4

Definition at line 61 of file sense_endian.h.


© 2008, Los Alamos National Security, LLC.