GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCFG / V1-2-3

Constituent: lcfg     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

LCFG_latp.c File Reference

Functions for performing LATp operations. More...

#include "LCFG_p.h"
#include "LCFG/LCFG_msgs.h"
#include "RIM/RIM.h"
#include "MSG/MSG_pubdefs.h"
#include "LEM/msg_macros.h"
#include "LEM/list.h"
#include "LEM/decode.h"

Include dependency graph for LCFG_latp.c:


Defines

#define NELEM(x)   (sizeof x / sizeof x[0])

Functions

unsigned LCFG_setTrigger (RIM *rim, int enable, int marker, LEM_micr *cr)
 Enable or disable triggers.

Detailed Description

Functions for performing LATp operations.

Author:
James Swain & Owen Saxton
Id
LCFG_latp.c,v 1.5 2008/10/25 00:04:48 saxton Exp

Function Documentation

unsigned LCFG_setTrigger RIM *  rim,
int  enable,
int  marker,
LEM_micr *  cr
 

Enable or disable triggers.

This routine enables or disables LAT triggers. If the marker parameter is non-zero, the LAT is first configured to broadcast a trigger message to all CPUs upon receipt of a solicited trigger, a solicited trigger is issued, and the configuration restored from the RIM data.

Parameters:
rim RIM structure containing LAT configuration data
enable If non-zero, triggers are anabled; otherwise disabled
marker If non-zero, causes a solicited trigger with this value in the event data.
cr Pointer to the multi-item command/response list.
Return values:
LCFG_SUCCESS if all goes well
LEM_* if there is an error arising from one of the register load commands


Generated on Wed Apr 22 01:15:28 2009 by  doxygen 1.4.4