GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LMC / V0-6-3

Constituent: lmc     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LMC_cmd.c File Reference

Routines associated with CCSDS commands to subsystem LMC. More...

#include <string.h>
#include "ITC/ITC_pubdefs.h"
#include "ITC/ITC_msgs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "PBI/Endianness.h"
#include "LMC/LMC_msgs.h"
#include "LMC/LMC_cmddefs.h"
#include "LMC/LMC_tlmdefs.h"
#include "LMC/LMC_cmdxtrn.h"
#include "LMC_inline.ih"

Include dependency graph for LMC_cmd.c:


Functions

unsigned int LMC_decode_cal (void *prm)
 CAL data decode routine.
unsigned int LMC_decode_tkr (void *prm)
 TKR data decode routine.
unsigned int LMC_decode_acd (void *prm)
 ACD tile data decode routine.
unsigned int LMC_decode_deadtime (void *prm)
 TEM deadtime data decode routine.
unsigned int LMC_ld_cb (void *prm, LCBD_xcb *xcb)
 LCB load callback routine.
unsigned int LMC_rd_cb (void *prm, LCBD_xcb *xcb)
 LCB read callback routine.
static WUT_cb_status LMC_wut_cb (void *prm, WUT_tmr *wut)
 WUT callback routine.
void LMC_free_fcb (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2)
 Frees a qitem from fixed packet allocator.
unsigned int LMC_cal_lrs (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the cal_lmc command.
unsigned int LMC_tkr_lrs (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the tkr_lmc command.
unsigned int LMC_acd_tile_pair (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the acd_tile command.
unsigned int LMC_acd_tile_all (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the acd_tile command.
unsigned int LMC_stop_count (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the stop_count command.
unsigned int LMC_tem_deadtime (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the tem_deadtime command.

Variables

LMC_Countercal_ctl
 Control block for CAL counters.
LMC_Countertkr_ctl
 Control block for TKR counters.
LMC_Counteracd_ctl
 Control block for ACD counters.
LMC_Counterdead_ctl
 Control block for TEM deadtime counters.

Detailed Description

Routines associated with CCSDS commands to subsystem LMC.

Warning:
Machine generated code

Function Documentation

unsigned int LMC_acd_tile_all void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the acd_tile command.

Parameters:
prm User context parameter
qitem Queue item
pay Payload pointer
len Payload length
Returns:

unsigned int LMC_acd_tile_pair void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the acd_tile command.

Parameters:
prm User context parameter
qitem Queue item
pay Payload pointer
len Payload length
Returns:

unsigned int LMC_cal_lrs void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the cal_lmc command.

Parameters:
prm User context parameter
qitem Queue item
pay Payload pointer
len Payload length
Returns:

unsigned int LMC_decode_acd void *  prm  ) 
 

ACD tile data decode routine.

Parameters:
prm Counter control handle
Returns:

unsigned int LMC_decode_cal void *  prm  ) 
 

CAL data decode routine.

Parameters:
prm Counter control handle
Returns:

unsigned int LMC_decode_deadtime void *  prm  ) 
 

TEM deadtime data decode routine.

Parameters:
prm Counter control handle
Returns:

unsigned int LMC_decode_tkr void *  prm  ) 
 

TKR data decode routine.

Parameters:
prm Counter control handle
Returns:

void LMC_free_fcb ITC_QueueItem *  qitem,
unsigned int  status,
void *  prm0,
void *  prm1,
void *  prm2
 

Frees a qitem from fixed packet allocator.

Parameters:
qitem Pointer to ITC qitem
status status code
prm0 Parameter 0
prm1 Parameter 1
prm2 Parameter 2

unsigned int LMC_ld_cb void *  prm,
LCBD_xcb *  xcb
 

LCB load callback routine.

Parameters:
prm User context parameter
xcb LCB tranfer control block
Returns:
LMC_SUCCESS on success

unsigned int LMC_rd_cb void *  prm,
LCBD_xcb *  xcb
 

LCB read callback routine.

Parameters:
prm User context parameter
xcb LCB tranfer control block
Returns:
LMC_SUCCESS on success

unsigned int LMC_stop_count void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the stop_count command.

Parameters:
prm User context parameter
qitem Queue item
pay Payload pointer
len Payload length
Returns:

unsigned int LMC_tem_deadtime void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the tem_deadtime command.

Parameters:
prm User context parameter
qitem Queue item
pay Payload pointer
len Payload length
Returns:

unsigned int LMC_tkr_lrs void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the tkr_lmc command.

Parameters:
prm User context parameter
qitem Queue item
pay Payload pointer
len Payload length
Returns:

static WUT_cb_status LMC_wut_cb void *  prm,
WUT_tmr *  wut
[static]
 

WUT callback routine.

Parameters:
prm User context parameter
wut Wake up timer
Returns:
WUT constant WUT_K_STATE_CHANGE_YES


Generated on Thu Mar 9 22:01:40 2006 by  doxygen 1.4.4