GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-3 > lim / linux-gcc
#include <ITC/ITC_pubdefs.h>
#include <LIM/LIM_pubdefs.h>
#include <LIM_action.h>
#include <LIM_pkt_send.h>
Typedefs | |
typedef struct _LIM_Ltc | LIM_Ltc |
Typedef for opaque LTC task object handle. | |
Functions | |
unsigned int | LIM_ltc_new (LIM_Ltc **object_pp, LIM_Action *action_p, LIM_Pkt_Send *pkt_stop_p, unsigned int ltc_stop_apid, char *desc) |
Create and initialize a new LTC task object. | |
unsigned int | LIM_ltc_delete (LIM_Ltc *object_p) |
Shutdown and delete an LTC task object. | |
unsigned int | LIM_ltc_send_stop (LIM_Ltc *object_p) |
Send a Stop command to the LTC task. |
** CVS $Id: LIM_ltc.h,v 1.3 2011/03/29 21:20:28 apw Exp $ **
unsigned int LIM_ltc_delete | ( | LIM_Ltc * | object_p | ) |
Shutdown and delete an LTC task object.
object_p | Pointer to object. |
References _LIM_Ltc::desc, _LIM_Ltc::key, and lim_ltc_check().
Referenced by LIM_ltc_new(), and LIM_mode_delete().
unsigned int LIM_ltc_new | ( | LIM_Ltc ** | object_pp, | |
LIM_Action * | action_p, | |||
LIM_Pkt_Send * | pkt_stop_p, | |||
unsigned int | ltc_stop_apid, | |||
char * | desc | |||
) |
Create and initialize a new LTC task object.
object_pp | Location to return pointer to new object. | |
action_p | Pointer to an action reporting object. | |
pkt_stop_p | Pointer to Stop command packet sending object. | |
ltc_stop_apid | APID of the LTC-Stop command. | |
desc | Description of the new object. |
References _LIM_Ltc::action_p, _LIM_Ltc::desc, _LIM_Ltc::key, LIM_ltc_delete(), LIM_LTC_VALID_KEY, LIM_pkt_set_info(), and _LIM_Ltc::pkt_stop_p.
Referenced by LIM_mode_new().
unsigned int LIM_ltc_send_stop | ( | LIM_Ltc * | object_p | ) |
Send a Stop command to the LTC task.
object_p | Pointer to LTC task object. |
References _LIM_Ltc::action_p, LIM_ACTION_LTC_STOP, LIM_action_report(), lim_ltc_check(), LIM_pkt_send_cmd(), and _LIM_Ltc::pkt_stop_p.
Referenced by lim_mode_stop_activity().