GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIM / V1-20-0
Constituent: lim     Tag: mv2304
#include <string.h>
#include "CDM/CDM_pubdefs.h"
#include "LIM/LIM_msgs.h"
#include "LIM/LIM_pubdefs.h"
#include "LIM_DB/LIM_DB_schema.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/TASK.h"
#include "LIM_action.h"
#include "LIM_gbm.h"
#include "LIM_intercept.h"
#include "LIM_lci.h"
#include "LIM_lpa.h"
#include "LIM_mode.h"
#include "LIM_pid.h"
#include "LIM_pig.h"
#include "LIM_pkt_send.h"
#include "LIM_pool.h"
#include "LIM_sc.h"
#include "LIM_task.h"
Include dependency graph for LIM_control.c:
Data Structures | |
struct | _LIM_Control |
Control information specific to the LIM task. More... | |
Defines | |
#define | LIM_APID_GBM (0x660) |
#define | LIM_APID_LCI (0x67c) |
#define | LIM_APID_LPA (0x674) |
#define | LIM_APID_LPA_IDLE (0x675) |
#define | LIM_APID_LTC (0x658) |
Typedefs | |
typedef _LIM_Control | LIM_Control |
Typedef for _LIM_Control. | |
Functions | |
static const LIM_DB_Schema * | lim_get_db (int report_error) |
Return a pointer to the LIM configuration database. | |
unsigned int | LIM_initialize (ITC_TaskID tid) |
Initialize the LIM package. | |
unsigned int | LIM_init_with_db (void) |
Initialize the LIM package using CDM. | |
static unsigned int | lim_delete_pkt_send (LIM_Pkt_Send *pkt_send_p) |
Delete a packet sending object. | |
unsigned int | LIM_shutdown (void) |
Shutdown the LIM package. | |
unsigned int | LIM_start (TASK_attr *attr_p) |
Start the LIM task. | |
unsigned int | LIM_start_with_db (void) |
Start the LIM task using CDM. | |
unsigned int | LIM_stop (void) |
Stop the LIM task. | |
unsigned int | LIM_get_info (LIM_Info *info_p) |
Get current LIM state information. | |
unsigned int | LIM_capture_cal (unsigned int apid, int start_fc, int abort_fc) |
Capture calibration telecommands with the specified APID. | |
unsigned int | LIM_capture_cal_with_db (void) |
Capture calibration telecommands using the LIM_DB configuration. | |
unsigned int | LIM_capture_diag (unsigned int apid, int start_fc, int abort_fc) |
Capture diagnostic telecommands with the specified APID. | |
unsigned int | LIM_capture_diag_with_db (void) |
Capture diagnostic telecommands using the LIM_DB configuration. | |
unsigned int | LIM_capture_physics (unsigned int apid, int start_fc, int config_fc, int stop_fc) |
Capture physics telecommands with the specified APID. | |
unsigned int | LIM_capture_physics_with_db (void) |
Capture physics telecommands using the LIM_DB configuration. | |
Variables | |
LIM_Task * | Lim_control_p = NULL |
Pointer to the LIM task control information. | |
static unsigned int | Lim_def_physics_apids [] |
List of default Physics APIDs to capture. | |
static unsigned int | Lim_def_cal_apids [] |
List of default Calibration APIDs to capture. | |
static const LIM_DB_Schema | Lim_def_db |
Default LIM configuration database. |
** CVS $Id: LIM_control.c,v 1.31 2007/02/13 21:15:30 dmay Exp $ **
Control functions for the LIM package.
|
Capture calibration telecommands with the specified APID. This function instructs LIM to capture calibration telecommands with the specified APID. If non-negative, LIM handles the telecommands with the start_fc function code as Calibration-Start commands. Likewise, if abort_fc is non-negative, LIM handles the telecommands with that function code as Calibration-Abort commands.
|
|
Capture calibration telecommands using the LIM_DB configuration. This function is a wrapper for LIM_capture_cal() that uses the LIM_DB configuration database to determine its parameters.
|
|
Capture diagnostic telecommands with the specified APID. This function instructs LIM to capture diagnostic telecommands with the specified APID. If non-negative, LIM handles the telecommands with the start_fc function code as Diagnostic-Start commands. Likewise, if abort_fc is non-negative, LIM handles the telecommands with that function code as Diagnostic-Abort commands.
|
|
Capture diagnostic telecommands using the LIM_DB configuration. This function is a wrapper for LIM_capture_diag() that uses the LIM_DB configuration database to determine its parameters.
|
|
Capture physics telecommands with the specified APID. This function instructs LIM to capture physics observation telecommands with the specified APID. If non-negative, LIM handles the telecommand with the start_fc function code as the Physics-Start command. Likewise, if config_fc or stop_fc is non-negative, LIM handles the telecommands with those function codes as the Physics-Config and Physics-Abort commands.
|
|
Capture physics telecommands using the LIM_DB configuration. This function is similar to LIM_capture_physics() except that it uses the LIM_DB configuration database to determine its parameters.
|
|
Delete a packet sending object.
|
|
Return a pointer to the LIM configuration database. This function returns a pointer to the LIM_DB configuration database. If CDM can't find the database, this function returns a pointer to the default database.
|
|
Get current LIM state information. This function returns selected items from the current LIM state.
|
|
Initialize the LIM package using CDM. This function is a wrapper for LIM_initialize that uses CDM to determine its parameters.
|
|
Initialize the LIM package. This function initializes the LIM package using the functions found in LIM_task.c. It should be the first LIM function called when using the LIM package.
|
|
Shutdown the LIM package. This function shuts down the LIM package using the functions found in LIM_task.c. This function should be the last function called when the LIM package is no longer needed.
|
|
Start the LIM task. This function starts the LIM task and transitions LIM to the STARTED state. It can be called only if the current LIM state is INITIALIZED. This function should be called after LIM_initialize().
|
|
Start the LIM task using CDM. This function is a wrapper for LIM_start that uses CDM to determine its parameters.
|
|
Stop the LIM task. This function stops the LIM task and transitions LIM back to the INITIALIZED state. It can be called only if the current LIM state is STARTED, START_FAIL, or STOP_FAIL. This function should be called before LIM_shutdown().
|
|
Initial value: { LIM_APID_LCI, }
|
|
Initial value: { LIM_APID_GBM, LIM_APID_LPA, LIM_APID_LPA_IDLE, }
|