GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIM / V1-20-0
Constituent: lim     Tag: mv2304
#include "string.h"
#include "LIM/LIM_cmddefs.h"
#include "LIM/LIM_pubdefs.h"
#include "LIM/LIM_msgs.h"
#include "LIM/LIM_tlmdefs.h"
#include "LIM/LIM_SC_cmddefs.h"
#include "PBS/MBA.h"
#include "PBS/WCT.h"
#include "PBS/WUT.h"
#include "LIM_action.h"
#include "LIM_bulk.h"
#include "LIM_pkt_send.h"
#include "LIM_sc.h"
#include "LIM_task.h"
Include dependency graph for LIM_sc.c:
Data Structures | |
struct | _LIM_Sc |
State information for a spacecraft interface object. More... | |
Defines | |
#define | LIM_SC_VALID_KEY (('L'<<24)+('S'<<16)+('C'<<8)+'I') |
Value indicating the spacecraft interface object state is valid. | |
#define | LIM_APID_SC_SLEW_REQ (0x600) |
Functions | |
static unsigned int | lim_sc_check (LIM_Sc *object_p) |
Validate a spacecraft interface object pointer. | |
static unsigned int | lim_sc_change_state (LIM_Sc *object_p, int new_pending, int new_active, unsigned int new_start_sec) |
Change the PENDING, ACTIVE, and START_SEC values for an object. | |
static WUT_cb_status | lim_sc_wut_handler (void *prm, WUT_tmr *wut) |
Handle wake-up timer expiration. | |
unsigned int | LIM_sc_new (LIM_Sc **object_pp, LIM_Task *task_p, LIM_Bulk *bulk_p, LIM_Action *action_p, LIM_Pkt_Send *pkt_slew_req_cmd_p, LIM_Pkt_Send *pkt_slew_req_tlm_p, LIM_Pkt_Send *pkt_slew_rsp_tlm_p) |
Create and initialize a new spacecraft interface object. | |
unsigned int | LIM_sc_delete (LIM_Sc *object_p) |
Shutdown and delete a spacecraft interface object. | |
int | LIM_sc_rep_is_active (LIM_Sc *object_p) |
Return the ACTIVE status of a repoint. | |
int | LIM_sc_rep_req_is_pending (LIM_Sc *object_p) |
Return the PENDING status of a repoint request. | |
unsigned int | LIM_sc_remain_sec (LIM_Sc *object_p) |
Return the number of seconds remaining in a repoint period. | |
static unsigned int | lim_sc_expire (LIM_Sc *object_p) |
End a repoint period. | |
unsigned int | LIM_sc_handle_bulk (LIM_Sc *object_p, const ITC_QueueItem *qitem_p) |
Handle a message on the BULK queue. | |
unsigned int | LIM_sc_handle_grb_idle (LIM_Sc *object_p) |
Handle a transition to the GRB-Idle state. | |
unsigned int | LIM_sc_send_slew_request (LIM_Sc *object_p, LIM_Action_Id action, unsigned int tran_id, unsigned int dwell_time, double ra, double dec) |
Send a Slew-Request command to the spacecraft. | |
unsigned int | LIM_sc_handle_slew_response (LIM_Sc *object_p, const ITC_QueueItem *qitem_p) |
Handle a Slew-Request-Reply message. |
** CVS $Id: LIM_sc.c,v 1.14 2008/08/30 00:42:16 dmay Exp $ **
|
Change the PENDING, ACTIVE, and START_SEC values for an object.
|
|
Validate a spacecraft interface object pointer.
|
|
Shutdown and delete a spacecraft interface object.
|
|
End a repoint period.
|
|
Handle a message on the BULK queue.
|
|
Handle a transition to the GRB-Idle state.
|
|
Handle a Slew-Request-Reply message.
|
|
Create and initialize a new spacecraft interface object.
|
|
Return the number of seconds remaining in a repoint period.
|
|
Return the ACTIVE status of a repoint.
|
|
Return the PENDING status of a repoint request.
|
|
Send a Slew-Request command to the spacecraft.
|
|
Handle wake-up timer expiration.
|