GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCM / dev > lcm_epu / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LCM_imageEPU.c File Reference

EPU specific functions for image module/task telemetering. More...

#include <MDB/MDB_pubdefs.h>
#include <PBS/MBA.h>
#include <PBS/SEM.h>
#include <PBS/WUT.h>
#include <LCM/LCM_msgs.h>
#include <LCM_prvdefs.h>

Functions

static WUT_cb_status LCM_telemDelay (SEM sem, WUT_tmr *timer)
void LCM_freeTelem (ITC_QueueItem *qitem, unsigned int status, LCM_Control *ctl, void *prm1, void *prm2)
 Free memory after sending ITC telemetry packets.
unsigned int LCM_imageInitializeEPU (LCM_Control *ctl)
 Initialize the LCM module/task image dump subsystem (EPU specific).


Detailed Description

EPU specific functions for image module/task telemetering.

CVS $Id: LCM_imageEPU.c,v 1.4 2011/03/29 21:59:34 apw Exp $
Author:
A.P.Waite
LCM_imageEPU.c provides EPU specific support for LCM's module and task dump facilities.

Function Documentation

void LCM_freeTelem ( ITC_QueueItem *  qitem,
unsigned int  status,
LCM_Control ctl,
void *  prm1,
void *  prm2 
)

Free memory after sending ITC telemetry packets.

Parameters:
qitem (in) The memory buffer.
status (in) Status of telemetry.
ctl (in) LCM control structure.
prm1 (in) Completion callback parameter 1.
prm2 (in) Completion callback parameter 2.

References _LCM_Control::config, _LCM_Control::image, LCM_telemDelay(), _LCM_ImageControl::telem_sem, and _LCM_ImageControl::telem_timer.

Referenced by LCM_ModuleDump().

unsigned int LCM_imageInitializeEPU ( LCM_Control ctl  ) 

Initialize the LCM module/task image dump subsystem (EPU specific).

Parameters:
ctl (in) LCM control block
LCM_imageInitializeEPU() builds up the EPU specific facilities to dump module and task decriptions.

References _LCM_Control::image, _LCM_ImageControl::telem_buf, _LCM_ImageControl::telem_sem, and _LCM_ImageControl::telem_timer.

Referenced by LCM_initializeEPU().

static WUT_cb_status LCM_telemDelay ( SEM  sem,
WUT_tmr *  timer 
) [static]

Timer callback for telmetry send delay.

Parameters:
sem The semaphore to release to indicate delay done.
timer The WUT handle for the timer.
Returns:
WUT_K_STATE_CHANGE_NO.

Referenced by LCM_freeTelem().


Generated on Wed Mar 30 16:02:49 2011 by  doxygen 1.5.8