GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EVUT / V1-2-8

Constituent: evut     Tag: mcp750


Interface   Data Structures   File List   Data Fields   Globals  

ev.h File Reference

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

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

Included by dependency graph

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 Mon Dec 13 02:51:53 2004 by doxygen 1.3.3