GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSEC / V6-1-0 > lsec / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LSEC_ctx.c File Reference

Context data for charge injection calibration events. More...

#include "LSEC/LSEC_ctx.h"
#include <string.h>

Functions

unsigned int LSEC_sizeofCtx32 (unsigned mode)
 Calculate the size of the configuration context.
unsigned int * LSEC_consignCtx (LSEC_ctx *ctx, unsigned int *buf)
 Copy the context information into the buffer.


Detailed Description

Context data for charge injection calibration events.

Author:
James Swain & Owen Saxton
Id

Function Documentation

unsigned int* LSEC_consignCtx ( LSEC_ctx ctx,
unsigned int *  buf 
)

Copy the context information into the buffer.

Parameters:
ctx Pointer to a context structure
buf Location to place the context
Returns:
Pointer to the next output location

unsigned int LSEC_sizeofCtx32 ( unsigned  mode  ) 

Calculate the size of the configuration context.

This routine calculates the number of 32-bit words needed to hold the configuration context for the current calibration mode

Parameters:
mode One of the LSEC_MODE IDs
Returns:
Size of the configuration context in 32-bit words


Generated on Thu Aug 20 14:34:11 2009 by  doxygen 1.5.3