GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCFG / V1-2-5 > lcfg / mv2304
#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>
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. |
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.
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. |
LCFG_SUCCESS | if all goes well | |
LEM_* | if there is an error arising from one of the register load commands |
Referenced by LCFG_disableTriggers(), and LCFG_enableTriggers().