GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSEC / V6-0-0

Constituent: lsec_wb     Tag: 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>

Include dependency graph for LSEC_ctx.c:


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
LSEC_ctx.c,v 1.2 2007/06/13 16:59:11 saxton Exp

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 Wed Dec 5 02:50:17 2007 by  doxygen 1.4.4