GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-0 > lim / linux-gcc
#include "string.h"
#include "ITC/ITC_pubdefs.h"
#include "LCI/LCI_cmddefs.h"
#include "LIM/LIM_msgs.h"
#include "LIM/LIM_pubdefs.h"
#include "LIM_action.h"
#include "LIM_lci.h"
#include "LIM_other_task.h"
#include "LIM_pkt_send.h"
#include "LIM_task.h"
Functions | |
unsigned int | LIM_lci_new (LIM_Lci **object_pp, LIM_Task *task_p, LIM_Action *action_p, LIM_Pkt_Send *pkt_start_p, LIM_Pkt_Send *pkt_abort_p) |
Create and initialize a new LCI interface object. | |
unsigned int | LIM_lci_delete (LIM_Lci *object_p) |
Shutdown and delete an LCI interface object. | |
LIM_Other_State | LIM_lci_get_state (LIM_Lci *object_p) |
Return the current state of the LCI task. | |
int | LIM_lci_abort_fcode (void) |
Return the function code of the Cal-Abort command. | |
int | LIM_lci_start_fcode (void) |
Return the function code of the Cal-Start command. | |
unsigned int | LIM_lci_fwd_abort (LIM_Lci *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Forward an Abort command to the LCI task. | |
unsigned int | LIM_lci_fwd_other (LIM_Lci *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Forward an 'other' command to the LCI task. | |
unsigned int | LIM_lci_handle_bulk (LIM_Lci *object_p, const ITC_QueueItem *qitem_p) |
Handle a message on the BULK queue. | |
unsigned int | LIM_lci_handle_complete (LIM_Lci *object_p, const ITC_QueueItem *qitem_p) |
Handle a Complete message from the LCI task. | |
unsigned int | LIM_lci_send_abort (LIM_Lci *object_p) |
Send an Abort command to the LCI task. | |
unsigned int | LIM_lci_send_start (LIM_Lci *object_p, const unsigned char *pkt_p, unsigned int pkt_bytes) |
Send a Start command to the LCI task. |
** CVS $Id: LIM_lci.c,v 1.8 2007/02/13 21:15:41 dmay Exp $ **
These are functions related to the interface with the LCI task.
int LIM_lci_abort_fcode | ( | void | ) |
Return the function code of the Cal-Abort command.
unsigned int LIM_lci_delete | ( | LIM_Lci * | object_p | ) |
Shutdown and delete an LCI interface object.
object_p | Pointer to object. |
unsigned int LIM_lci_fwd_abort | ( | LIM_Lci * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Forward an Abort command to the LCI task.
object_p | Pointer to LCI interface object. | |
pkt_send_p | Pointer to packet sending object for the command. | |
qitem_p | Pointer to queue item containing the command. |
unsigned int LIM_lci_fwd_other | ( | LIM_Lci * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Forward an 'other' command to the LCI task.
object_p | Pointer to LCI interface object. | |
pkt_send_p | Pointer to packet sending object for the command. | |
qitem_p | Pointer to queue item containing the command. |
LIM_Other_State LIM_lci_get_state | ( | LIM_Lci * | object_p | ) |
Return the current state of the LCI task.
object_p | Pointer to LCI interface object. |
unsigned int LIM_lci_handle_bulk | ( | LIM_Lci * | object_p, | |
const ITC_QueueItem * | qitem_p | |||
) |
Handle a message on the BULK queue.
object_p | Pointer to LCI interface object. | |
qitem_p | Pointer to queue item containing the message. |
unsigned int LIM_lci_handle_complete | ( | LIM_Lci * | object_p, | |
const ITC_QueueItem * | qitem_p | |||
) |
Handle a Complete message from the LCI task.
object_p | Pointer to LCI interface object. | |
qitem_p | Pointer to queue item containing the message. |
unsigned int LIM_lci_new | ( | LIM_Lci ** | object_pp, | |
LIM_Task * | task_p, | |||
LIM_Action * | action_p, | |||
LIM_Pkt_Send * | pkt_start_p, | |||
LIM_Pkt_Send * | pkt_abort_p | |||
) |
Create and initialize a new LCI interface object.
object_pp | Location to return pointer to new object. | |
task_p | Pointer to a task object. | |
action_p | Pointer to an action reporting object. | |
pkt_start_p | Pointer to Start command packet sending object. | |
pkt_abort_p | Pointer to Abort command packet sending object. |
unsigned int LIM_lci_send_abort | ( | LIM_Lci * | object_p | ) |
Send an Abort command to the LCI task.
object_p | Pointer to LCI interface object. |
unsigned int LIM_lci_send_start | ( | LIM_Lci * | object_p, | |
const unsigned char * | pkt_p, | |||
unsigned int | pkt_bytes | |||
) |
Send a Start command to the LCI task.
object_p | Pointer to LCI interface object. | |
pkt_p | Pointer to Start command packet. | |
pkt_bytes | Size, in bytes, of Start command packet. |
int LIM_lci_start_fcode | ( | void | ) |
Return the function code of the Cal-Start command.