GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LEM / dev > lem / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

decode.h File Reference

Routines for unpacking the payload of a result item. More...

#include <LEM/decode_structs.h>

Functions

void CRU_decode (const unsigned short *pkt, unsigned *value)
 Copy the CRU response from a result item.
void GEM_decode (const unsigned short *pkt, unsigned *value)
 Copy the GEM response from a result item.
void EBM_decode (const unsigned short *pkt, unsigned *value)
 Copy the EBM response from a result item.
void PDU_decode (const unsigned short *pkt, unsigned *value)
 Copy the PDU response from a result item.
void TEM_decode (const unsigned short *pkt, unsigned *value)
 Copy the TEM response from a result item.
void TIC_decode (const unsigned short *pkt, unsigned *value)
 Copy the TIC response from a result item.
void CCC_decode (const unsigned short *pkt, unsigned *value)
 Copy the CCC response from a result item.
void CRC_decode (const unsigned short *pkt, CAL_rsp *rsp)
 Copy the CRC response from a result item.
void CFE_decode (const unsigned short *pkt, CAL_rsp *rsp)
 Copy the CFE response from a result item.
void TCC_decode (const unsigned short *pkt, unsigned *value)
 Copy the TCC response from a result item.
void TRC_decode (const unsigned short *pkt, TKR_rsp *rsp)
 Copy the TRC response from a result item.
void TFE_decode (const unsigned short *pkt, TKR_rsp *rsp)
 Copy the TFE response from a result item.
void TDC_decode (const unsigned short *pkt, TKR_rsp *rsp)
 Copy the TFE DAC response from a result item.
void AEM_decode (const unsigned short *pkt, unsigned *value)
 Copy the AEM response from a result item.
void ARC_decode (const unsigned short *pkt, ACD_rsp *rsp)
 Copy the ARC response from a result item.
void AFE_decode (const unsigned short *pkt, ACD_rsp *rsp)
 Copy the AFE response from a result item.
void PDU_ENV_decode (const unsigned short *pkt, PDU_env_rsp *rsp)
 Copy the PDU ENV response from a result item.
void AEM_ENV_decode (const unsigned short *pkt, AEM_env_rsp *rsp)
 Copy the AEM ENV response from a result item.
void TIC_ENV_decode (const unsigned short *pkt, TIC_env_rsp *rsp)
 Copy the TIC ENV response from a result item.


Detailed Description

Routines for unpacking the payload of a result item.

Author:
James Swain & Owen Saxton
$Id: decode.h,v 1.8 2011/03/25 18:51:52 apw Exp $

Function Documentation

void AEM_decode ( const unsigned short *  pkt,
unsigned *  value 
)

Copy the AEM response from a result item.

Parameters:
pkt Pointer to result item payload
value Pointer to location to store result

References decode_ul().

void AEM_ENV_decode ( const unsigned short *  pkt,
AEM_env_rsp rsp 
)

Copy the AEM ENV response from a result item.

Parameters:
pkt Pointer to result item payload
rsp Pointer to memory to hold decoded environmental monitor response data

References AEM_env_rsp::ul.

void AFE_decode ( const unsigned short *  pkt,
ACD_rsp rsp 
)

Copy the AFE response from a result item.

Parameters:
pkt Pointer to result item payload
rsp Pointer to location to store result

References decode_acd().

void ARC_decode ( const unsigned short *  pkt,
ACD_rsp rsp 
)

Copy the ARC response from a result item.

Parameters:
pkt Pointer to result item payload
rsp Pointer to location to store result

References decode_acd().

void CCC_decode ( const unsigned short *  pkt,
unsigned *  value 
)

Copy the CCC response from a result item.

Parameters:
pkt Pointer to result item payload
value Pointer to location to store result

References decode_ul().

void CFE_decode ( const unsigned short *  pkt,
CAL_rsp rsp 
)

Copy the CFE response from a result item.

Parameters:
pkt Pointer to result item payload
rsp Pointer to location to store result

References decode_cal().

void CRC_decode ( const unsigned short *  pkt,
CAL_rsp rsp 
)

Copy the CRC response from a result item.

Parameters:
pkt Pointer to result item payload
rsp Pointer to location to store result

References decode_cal().

void CRU_decode ( const unsigned short *  pkt,
unsigned *  value 
)

Copy the CRU response from a result item.

Parameters:
pkt Pointer to result item payload
value Pointer to location to store result

References decode_ul().

void EBM_decode ( const unsigned short *  pkt,
unsigned *  value 
)

Copy the EBM response from a result item.

Parameters:
pkt Pointer to result item payload
value Pointer to location to store result

References decode_ul().

void GEM_decode ( const unsigned short *  pkt,
unsigned *  value 
)

Copy the GEM response from a result item.

Parameters:
pkt Pointer to result item payload
value Pointer to location to store result

References decode_ul().

void PDU_decode ( const unsigned short *  pkt,
unsigned *  value 
)

Copy the PDU response from a result item.

Parameters:
pkt Pointer to result item payload
value Pointer to location to store result

References decode_ul().

void PDU_ENV_decode ( const unsigned short *  pkt,
PDU_env_rsp rsp 
)

Copy the PDU ENV response from a result item.

Parameters:
pkt Pointer to result item payload
rsp Pointer to location to store result

References decode_ul(), and PDU_env_rsp::ui.

void TCC_decode ( const unsigned short *  pkt,
unsigned *  value 
)

Copy the TCC response from a result item.

Parameters:
pkt Pointer to result item payload
value Pointer to location to store result

References decode_ul().

void TDC_decode ( const unsigned short *  pkt,
TKR_rsp rsp 
)

Copy the TFE DAC response from a result item.

Parameters:
pkt Pointer to result item payload
rsp Pointer to location to store result

References decode_tkr(), rotate_(), and TKR_rsp::value.

void TEM_decode ( const unsigned short *  pkt,
unsigned *  value 
)

Copy the TEM response from a result item.

Parameters:
pkt Pointer to result item payload
value Pointer to location to store result

References decode_ul().

void TFE_decode ( const unsigned short *  pkt,
TKR_rsp rsp 
)

Copy the TFE response from a result item.

Parameters:
pkt Pointer to result item payload
rsp Pointer to location to store result

References decode_tkr().

void TIC_decode ( const unsigned short *  pkt,
unsigned *  value 
)

Copy the TIC response from a result item.

Parameters:
pkt Pointer to result item payload
value Pointer to location to store result

References decode_ul().

void TIC_ENV_decode ( const unsigned short *  pkt,
TIC_env_rsp rsp 
)

Copy the TIC ENV response from a result item.

Parameters:
pkt Pointer to result item payload
rsp Pointer to structure holding storage for for 8 16-bit values, the mux channel number that was acquired and the acquisition valid bit.

References TIC_env_rsp::chnl, TIC_env_rsp::env, and TIC_env_rsp::valid.

void TRC_decode ( const unsigned short *  pkt,
TKR_rsp rsp 
)

Copy the TRC response from a result item.

Parameters:
pkt Pointer to result item payload
rsp Pointer to location to store result

References decode_tkr().


Generated on Fri Mar 25 11:57:19 2011 by  doxygen 1.5.8