GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LPA / V6-1-7
Constituent: lpa_siu     Tag: mv2304
#include <string.h>
#include <stdio.h>
#include <fcntl.h>
#include "PBS/MBA.h"
#include "PBS/WUT.h"
#include "PBS/WCT.h"
#include "PBS/TOV.h"
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "IMM/FPM_pubdefs.h"
#include "LCBD/LCBD.h"
#include "LCS/LCS_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "LPA/LPA_cmdxtrn.h"
#include "LPA/LPA_cmddefs.h"
#include "LPA/LPA_tlmdefs.h"
#include "LPA/LPA_msgs.h"
#include "LPA/LPA_siu.h"
#include "LPA_prvdefs.h"
#include "LPA_siu_p.h"
#include "LPA_inline.ih"
#include "LPA_utils.h"
#include "LPA_DB/LPA_DB_modes.h"
#include "LEM/list.h"
#include "LEM/list_structs.h"
#include "LEM/decode.h"
#include "LATC/latc.h"
Include dependency graph for LPA_siu.c:
Functions | |
static unsigned int | LPA_proc_ctl (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Process raw task messages from the ctl queue. | |
static unsigned int | LPA_proc_bulk (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Process raw task messages from the bulk queue. | |
static unsigned int | LPA_send_cpus (unsigned short fcode, unsigned int cpus, ITC_TaskID tid, ITC_QueueID qid, void *pay, unsigned int size, unsigned int ack) |
Send a message to cpus. | |
static unsigned int | LPA_send_lim (unsigned int fcode, unsigned int epu_stat) |
Send a message to LIM. | |
static unsigned int | LPA_cpu_response (ITC_NodeID node, LPA_MsgHdr *mhdr) |
Gather cpu response messages and send LIM ack. | |
static unsigned int | LPA_cpu_complete (void) |
Process a cpu response completion. | |
static unsigned int | LPA_cpu_error (void) |
Process a cpu response failure from timeout or error status. | |
static WUT_cb_status | LPA_wut_cb (void *ptr, WUT_tmr *wut) |
The cpu response timeout callback routine. | |
static unsigned int | LPA_cfg_ebm (void) |
Configure the EBM destination enables register. | |
static unsigned int | LPA_latc (unsigned int file, unsigned int ignore, unsigned int consign, unsigned int *key) |
Configure the instrument with LATC. | |
static unsigned int | LPA_proc_start (void *pay) |
Process a start run command. | |
static unsigned int | LPA_set_default (void *pay) |
Set start run parameter defaults. | |
static unsigned int | LPA_set_grb (void *pay) |
Set GRB processing parameters. | |
static unsigned int | LPA_start_run (void) |
Start physics run. | |
static unsigned int | LPA_stop_run (void) |
Stop physics run. | |
static unsigned int | LPA_stop_complete (void) |
Stop completion of physics run. | |
static unsigned int | LPA_send_siu_tlm (void) |
Send diagnostic telemetry packet. | |
unsigned int | LPA_siu_init (void) |
Initialize the LPA system on the SIU. | |
unsigned int | LPA_siu_start (void) |
Start the LPA system. | |
unsigned int | LPA_proc_cmd (unsigned short fcode, void *pay) |
Process and dispatch commands. | |
unsigned int | LPA_set_mode (unsigned int mode) |
Set current mode. | |
void | LPA_get_siu_tlm (LPA_SIUCFG_Tlm *pkt) |
Get current telemetry packet data. | |
unsigned int | LPA_gbm_int (void) |
Notify LPA of a GBM interrupt. | |
Variables | |
LPA_Siu | Lpa_siu |
The static instance of the LPA task control structure. |
CVS $Id: LPA_siu.c,v 1.35 2007/08/23 19:13:32 saxton Exp $
|
Configure the EBM destination enables register.
|
|
Process a cpu response completion.
|
|
Process a cpu response failure from timeout or error status.
|
|
Gather cpu response messages and send LIM ack.
|
|
Notify LPA of a GBM interrupt.
|
|
Get current telemetry packet data.
|
|
Configure the instrument with LATC.
|
|
Process raw task messages from the bulk queue.
|
|
Process and dispatch commands.
|
|
Process raw task messages from the ctl queue.
|
|
Process a start run command.
|
|
Send a message to cpus.
|
|
Send a message to LIM.
|
|
Send diagnostic telemetry packet.
|
|
Set start run parameter defaults.
|
|
Set GRB processing parameters.
|
|
Set current mode.
|
|
Initialize the LPA system on the SIU.
|
|
Start the LPA system.
|
|
Start physics run.
|
|
Stop completion of physics run.
|
|
Stop physics run.
|
|
The cpu response timeout callback routine.
|