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_pubdefs.h"
#include "LIM/LIM_msgs.h"
#include "LIM/LIM_pubdefs.h"
#include "LPA/LPA_cmddefs.h"
#include "LPA/LPA_siu.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/MBA.h"
#include "LIM_action.h"
#include "LIM_lpa.h"
#include "LIM_other_task.h"
#include "LIM_pkt_send.h"
#include "LIM_task.h"
Include dependency graph for LIM_lpa.c:
Data Structures | |
struct | _LIM_Lpa |
State information for an LPA interface object. More... | |
Defines | |
#define | LIM_LPA_VALID_KEY (('L'<<24)+('L'<<16)+('P'<<8)+'A') |
Value that indicates the LPA interface object state is valid. | |
Functions | |
static unsigned int | lim_lpa_check (LIM_Lpa *object_p) |
Validate an LPA interface object pointer. | |
static void | lim_lpa_change_mode (LIM_Lpa *object_p, LIM_Lpa_Mode new_mode) |
Change the current mode of the LPA task. | |
unsigned int | LIM_lpa_new (LIM_Lpa **object_pp, LIM_Task *task_p, LIM_Action *action_p, LIM_Pkt_Send *pkt_start_p, LIM_Pkt_Send *pkt_stop_p) |
Create and initialize a new LPA interface object. | |
unsigned int | LIM_lpa_delete (LIM_Lpa *object_p) |
Shutdown and delete an LPA interface object. | |
int | LIM_lpa_bulk_is_complete (const ITC_QueueItem *qitem_p) |
Check a BULK queue message to see if it's Physics-Complete. | |
int | LIM_lpa_bulk_is_grb_confirmed (const ITC_QueueItem *qitem_p) |
Check a BULK queue message to see if it's GRB-Confirmed. | |
int | LIM_lpa_bulk_is_grb_finished (const ITC_QueueItem *qitem_p) |
Check a BULK queue message to see if it's GRB-Finished. | |
int | LIM_lpa_bulk_is_grb_suspected (const ITC_QueueItem *qitem_p) |
Check a BULK queue message to see if it's GRB-Suspected. | |
LIM_Other_State | LIM_lpa_get_state (LIM_Lpa *object_p) |
Return the current state of the LPA task. | |
LIM_Lpa_Mode | LIM_lpa_get_mode (LIM_Lpa *object_p) |
Return the current LPA task mode. | |
unsigned int | LIM_lpa_get_confirmed_parms (const ITC_QueueItem *qitem_p, unsigned int *transaction_id_p, unsigned int *dwell_time_p, double *ra_p, double *dec_p) |
Extract the parameters from an ARR-Start command. | |
unsigned int | LIM_lpa_get_start_parms (const ITC_QueueItem *qitem_p, unsigned int *observation_id_p, LIM_Lpa_Mode *mode_id_p, unsigned int *latc_p, unsigned int *ignore_p, unsigned int *db_p, unsigned int *consign_p, unsigned int *cpu_mask_p) |
Extract the parameters from a Physics-Start command. | |
int | LIM_lpa_config_fcode (void) |
Return the function code of the Physics-Config command. | |
int | LIM_lpa_start_fcode (void) |
Return the function code of the Physics-Start command. | |
int | LIM_lpa_stop_fcode (void) |
Return the function code of the Physics-Stop command. | |
unsigned int | LIM_lpa_sizeof_grb_confirmed (void) |
Return the size of an GRB-Confirmed command. | |
unsigned int | LIM_lpa_sizeof_grb_finished (void) |
Return the size of an GRB-Finished command. | |
unsigned int | LIM_lpa_sizeof_grb_suspected (void) |
Return the size of an GRB-Suspected command. | |
unsigned int | LIM_lpa_sizeof_complete (void) |
Return the size of a Physics-Complete message. | |
unsigned int | LIM_lpa_sizeof_start (void) |
Return the size of a Physics-Start command. | |
unsigned int | LIM_lpa_sizeof_stop (void) |
Return the size of a Physics-Stop command. | |
unsigned int | LIM_lpa_fwd_active (LIM_Lpa *object_p, const ITC_QueueItem *qitem_p, LIM_Pkt_Send *pkt_send_p) |
Forward an 'active' command to the LPA task. | |
unsigned int | LIM_lpa_fwd_gbm_cmd (LIM_Lpa *object_p, const ITC_QueueItem *qitem_p, LIM_Pkt_Send *pkt_send_p) |
Forward a command from the GBM to the LPA task. | |
unsigned int | LIM_lpa_fwd_idle (LIM_Lpa *object_p, const ITC_QueueItem *qitem_p, LIM_Pkt_Send *pkt_send_p) |
Forward an 'idle' command to the LPA task. | |
unsigned int | LIM_lpa_fwd_stop (LIM_Lpa *object_p, const ITC_QueueItem *qitem_p, LIM_Pkt_Send *pkt_send_p, LIM_Operating_Mode op_mode) |
Forward a Stop command to the LPA task. | |
unsigned int | LIM_lpa_gbm_int (LIM_Lpa *object_p) |
Notify LPA of a GBM interrupt. | |
unsigned int | LIM_lpa_handle_bulk (LIM_Lpa *object_p, const ITC_QueueItem *qitem_p) |
Handle a message on the BULK queue. | |
unsigned int | LIM_lpa_handle_complete (LIM_Lpa *object_p, const ITC_QueueItem *qitem_p) |
Handle a Complete message from the LPA task. | |
unsigned int | LIM_lpa_restart (LIM_Lpa *object_p, unsigned int observation_id, LIM_Lpa_Mode mode_id) |
Re-send the most recent Start command to the LPA task. | |
unsigned int | LIM_lpa_set_mode (LIM_Lpa *object_p, LIM_Lpa_Mode mode_id) |
Change an observation's mode. | |
unsigned int | LIM_lpa_send_start (LIM_Lpa *object_p, unsigned int observation_id, LIM_Lpa_Mode mode_id, unsigned int latc, unsigned int ignore, unsigned int db, unsigned int consign, unsigned int cpu_mask) |
Send a Start command to the LPA task. | |
unsigned int | LIM_lpa_send_stop (LIM_Lpa *object_p, LIM_Operating_Mode op_mode) |
Stop an observation. |
** CVS $Id: LIM_lpa.c,v 1.25 2007/12/16 23:03:41 dmay Exp $ **
These functions handle the interface with the LPA task.
|
Check a BULK queue message to see if it's Physics-Complete.
|
|
Check a BULK queue message to see if it's GRB-Confirmed.
|
|
Check a BULK queue message to see if it's GRB-Finished.
|
|
Check a BULK queue message to see if it's GRB-Suspected.
|
|
Change the current mode of the LPA task.
|
|
Validate an LPA interface object pointer.
|
|
Return the function code of the Physics-Config command.
|
|
Shutdown and delete an LPA interface object.
|
|
Forward an 'active' command to the LPA task.
|
|
Forward a command from the GBM to the LPA task.
|
|
Forward an 'idle' command to the LPA task.
|
|
Forward a Stop command to the LPA task.
|
|
Notify LPA of a GBM interrupt.
|
|
Extract the parameters from an ARR-Start command.
|
|
Return the current LPA task mode.
|
|
Extract the parameters from a Physics-Start command.
|
|
Return the current state of the LPA task.
|
|
Handle a message on the BULK queue.
|
|
Handle a Complete message from the LPA task.
|
|
Create and initialize a new LPA interface object.
|
|
Re-send the most recent Start command to the LPA task.
|
|
Send a Start command to the LPA task.
|
|
Stop an observation.
|
|
Change an observation's mode.
|
|
Return the size of a Physics-Complete message.
|
|
Return the size of an GRB-Confirmed command.
|
|
Return the size of an GRB-Finished command.
|
|
Return the size of an GRB-Suspected command.
|
|
Return the size of a Physics-Start command.
|
|
Return the size of a Physics-Stop command.
|
|
Return the function code of the Physics-Start command.
|
|
Return the function code of the Physics-Stop command.
|