GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LMC / V0-9-1

Constituent: lmc     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

LMC_pubdefs.h File Reference

LAT Multiplexed Counters public definitions. More...

#include "PBS/TASK.h"

Include dependency graph for LMC_pubdefs.h:

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


Typedefs

typedef enum _LMC_CntrType LMC_CntrType
 LMC counter types.

Enumerations

enum  {
  N_TEMS = 16,
  N_ACD_TILES = 108,
  N_TILES_GRP = 54,
  LMC_SCI_APID = 929,
  LMC_DGM_SIZE = 65536
}
 Miscellaneous constants. More...
enum  _LMC_CntrType {
  LMC_TYP_CAL = 1,
  LMC_TYP_TKR = 2,
  LMC_TYP_ACD = 3,
  LMC_TYP_DEAD = 4
}
 LMC counter types. More...

Functions

unsigned int LMC_initialize (void)
 Initialize the LMC system.
unsigned int LMC_start (void)
 Start the LMC system.
unsigned int LMC_shutdown (void)
 Shut down the LMC system.
unsigned int LMC_startTask (TASK_attr *attr)
 Create and start the LMC task.
unsigned int LMC_stopTask (void)
 Stop the LMC task.

Detailed Description

LAT Multiplexed Counters public definitions.

Author:
Owen Saxton
Id
LMC_pubdefs.h,v 1.3 2007/07/20 21:57:10 saxton Exp

Enumeration Type Documentation

anonymous enum
 

Miscellaneous constants.

Enumerator:
N_TEMS  Number of TEMs.
N_ACD_TILES  Number of ACD tiles.
N_TILES_GRP  Number of ACD tiles in a packet.
LMC_SCI_APID  APID for science datagrams.
LMC_DGM_SIZE  Maximum science datagram size.

enum _LMC_CntrType
 

LMC counter types.

Enumerator:
LMC_TYP_CAL  CAL low rate science.
LMC_TYP_TKR  TKR low rate science.
LMC_TYP_ACD  ACD tile pair counters.
LMC_TYP_DEAD  TEM deadtime counters.


Function Documentation

unsigned int LMC_initialize void   ) 
 

Initialize the LMC system.

Return values:
LMC_SUCCESS Success

unsigned int LMC_shutdown void   ) 
 

Shut down the LMC system.

Return values:
LMC_SUCCESS Success
LMC_INVSTATE Not in initialized state

unsigned int LMC_start void   ) 
 

Start the LMC system.

Return values:
LMC_SUCCESS Success
LMC_NOTINIT Not initialized

unsigned int LMC_startTask TASK_attr *  attr  ) 
 

Create and start the LMC task.

Parameters:
attr (in) Task attributes (can be NULL)
Return values:
LMC_SUCCESS Success
LMC_INVSTATE Not in INITIALIZED state
ITC_ALOCFAIL Cannot allocate for fork control block
ITC_CTLSTAT ITC control block not in state initialized
ITC_FORKINIT Fork initialization failed
ITC_FORKQHND Cannot recover all fork queue handles (obscure)
ITC_NOTINIT ITC control block does not exist

unsigned int LMC_stopTask void   ) 
 

Stop the LMC task.

Return values:
LMC_SUCCESS Success
LMC_INVSTATE Not in STARTED state
ITC_CTLSTAT ITC control block not in state initialized
ITC_NOTINIT ITC control block does not exist
ITC_TASKHNDL Task handle is invalid
ITC_TASKSTAT Invalid task state for this operation


Generated on Tue Jul 1 01:19:03 2008 by  doxygen 1.4.4