Doxygen Documentation

Main Index

Package Index

Package:

EVUT

Version:

V1-2-6

Marked:

(not marked)

Constituent:

evut

Tag:

linux-gcc


Interface   Compound List   File List   Compound Members   File Members  

ev.h File Reference

Defines public structs for decoding TEM event data. More...


Defines

#define __pack__   __attribute__ ((__packed__))
 used to pack bitfield struct members

#define BYTE_SWAP_32(x)
 Byte swapping macro for 32-bit integers.

#define BYTE_SWAP_16(x)
 Byte swapping macro for 16-bit integers.

#define _printf(format, args...)   printf ( "%s():%05d "format".\n" , __FUNCTION__ , __LINE__ , ## args);
 Provide printf-like functionality.


Detailed Description

Defines public structs for decoding TEM event data.

Author:
Curt Brune -- curt@slac.stanford.edu

Define Documentation

#define BYTE_SWAP_16  ) 
 

Value:

( (((x) >> 8) & 0x00FF) |                       \
  (((x) << 8) & 0xFF00)                         \
  )
Byte swapping macro for 16-bit integers.

#define BYTE_SWAP_32  ) 
 

Value:

( (((x) >> 24) & 0x000000FF) |                 \
  (((x) >>  8) & 0x0000FF00) |                 \
  (((x) <<  8) & 0x00FF0000) |                 \
  (((x) << 24) & 0xFF000000)                   \
  )
Byte swapping macro for 32-bit integers.


Generated on Thu Apr 1 15:57:27 2004 by doxygen 1.3.3