GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIM / V1-20-0
Constituent: lim     Tag: mv2304
#include "string.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_drvdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LIM/LIM_msgs.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/MBA.h"
#include "LIM_intercept.h"
#include "LIM_mode.h"
#include "LIM_pkt_send.h"
Include dependency graph for LIM_intercept.c:
Data Structures | |
struct | _Lim_Apid |
Information about an intercepted APID. More... | |
struct | _Lim_Command |
Information about an intercepted command. More... | |
struct | _LIM_Intercept |
State information for an intercept object. More... | |
Defines | |
#define | LIM_INTERCEPT_VALID_KEY (('L'<<24)+('I'<<16)+('N'<<8)+'T') |
Value that indicates LIM intercept object state is valid. | |
#define | DIM(a) (sizeof (a) / sizeof ((a)[0])) |
Dimension of an array. | |
Typedefs | |
typedef unsigned int(* | Lim_Handler )(LIM_Mode *mode_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Signature of a command handler function. | |
typedef _Lim_Apid | Lim_Apid |
Typedef for _Lim_Apid. | |
typedef _Lim_Command | Lim_Command |
Typedef for _Lim_Command. | |
Functions | |
static unsigned int | lim_intercept_check (LIM_Intercept *object_p) |
Validate a LIM intercept object pointer. | |
static unsigned int | lim_intercept_dispatch (void *prm, const ITC_QueueItem *qitem_p, void *pay_p, unsigned int len) |
Dispatch intercepted commands. | |
unsigned int | LIM_intercept_new (LIM_Intercept **object_pp, ITC_TaskID lim_tid, LIM_Mode *mode_p, LIM_Pkt_Send *cal_start_p, LIM_Pkt_Send *cal_abort_p, LIM_Pkt_Send *diag_start_p, LIM_Pkt_Send *diag_abort_p, LIM_Pkt_Send *phys_start_p, LIM_Pkt_Send *phys_stop_p, LIM_Pkt_Send *phys_config_p, LIM_Pkt_Send *gbm_calcinfo_p, LIM_Pkt_Send *gbm_closeout_p, LIM_Pkt_Send *gbm_repoint_p) |
Create and initialize a new command intercept object. | |
unsigned int | LIM_intercept_delete (LIM_Intercept *object_p) |
Shutdown and delete a command intercept object. | |
static unsigned int | lim_intercept_apid (LIM_Intercept *object_p, LIM_Pool *pool_p, unsigned int apid, Lim_Apid **apid_info_pp) |
Intercept commands with the specified APID. | |
static unsigned int | lim_intercept_command (LIM_Intercept *object_p, Lim_Apid *apid_info_p, unsigned int func_code, LIM_Pkt_Send *pkt_send_p, Lim_Handler handler, char *desc) |
Intercept a specific command. | |
unsigned int | LIM_intercept_cal (LIM_Intercept *object_p, LIM_Pool *pool_p, unsigned int apid, int start_fc, int abort_fc) |
Intercept calibration commands. | |
unsigned int | LIM_intercept_physics (LIM_Intercept *object_p, LIM_Pool *pool_p, unsigned int apid, int start_fc, int stop_fc, int config_fc) |
Intercept physics commands. | |
unsigned int | LIM_intercept_physics_idle (LIM_Intercept *object_p, LIM_Pool *pool_p, unsigned int apid, int config_fc) |
Intercept physics commands that are valid when LPA is idle. | |
unsigned int | LIM_intercept_gbm (LIM_Intercept *object_p, LIM_Pool *pool_p, unsigned int apid, int calcinfo_fc, int closeout_fc, int repoint_fc) |
Intercept commands from the GBM. |
** CVS $Id: LIM_intercept.c,v 1.14 2008/01/13 19:10:08 dmay Exp $ **
These are functions related to intercepting LCI, LDF, and LPA commands.
|
Intercept commands with the specified APID.
|
|
Intercept calibration commands.
|
|
Validate a LIM intercept object pointer.
|
|
Intercept a specific command.
|
|
Shutdown and delete a command intercept object.
|
|
Dispatch intercepted commands.
|
|
Intercept commands from the GBM.
|
|
Create and initialize a new command intercept object.
|
|
Intercept physics commands.
|
|
Intercept physics commands that are valid when LPA is idle.
|