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_inline.ih File Reference

Private inline routines for the LMC package. More...

#include "PBS/RW.ih"
#include "MSG/MSG_pubdefs.h"
#include "LMC/LMC_msgs.h"
#include "LMC_macro_p.h"
#include <unistd.h>

Include dependency graph for LMC_inline.ih:

This graph shows which files directly or indirectly include this file:


Functions

static unsigned queue_load (LMC_ld *ld)
 Queue the command list assuming all commands are responsless commands, then check for transfer/result item errors.
static unsigned queue_read (LMC_cr *cr)
 Queue the command list assuming all commands are response commands, then check for transfer/result item errors.
static unsigned queue_xcb (LCBD_xcb *xcb)
 Queue the command list.
static unsigned int changeState (unsigned int old, unsigned int new, RW_ctl *rwi, RW_key *key, unsigned int *cur, char *fnc)
 Walk round a state diagram.
static void taskDelay (unsigned delay)
 mock up of the VxWorks taskDelay function on host - just call sleep(delay/60)

Detailed Description

Private inline routines for the LMC package.

CVS $Id: LMC_inline.ih,v 1.2 2004/12/02 20:03:21 smaldona Exp $
Author:
S.Maldonado
LMC_inline.ih provides specialized inline routines for the LMC package. Adopted (stolen) from work by A.P.Waite

Function Documentation

static unsigned int changeState unsigned int  old,
unsigned int  new,
RW_ctl *  rwi,
RW_key *  key,
unsigned int *  cur,
char *  fnc
[inline, static]
 

Walk round a state diagram.

Parameters:
old (in) State the control block must be in to transition
new (in) State to which the control block wishes to transition
rwi (in) RW interlock
key (in) An RW key
cur (in) Current state
fnc (in) Function name calling this inline
Return values:
LMC_SUCCESS Success
LMC_GENERROR Generic error

unsigned queue_load LMC_ld ld  )  [inline, static]
 

Queue the command list assuming all commands are responsless commands, then check for transfer/result item errors.

Parameters:
ld Structure holding the load lists
Returns:
One of the mapped LCBD transfer or receive errors, or LMC_OK

unsigned queue_read LMC_cr cr  )  [inline, static]
 

Queue the command list assuming all commands are response commands, then check for transfer/result item errors.

Parameters:
cr Structure holding the command/response lists
Returns:
One of the mapped LCBD transfer or receive errors, or LMC_OK

unsigned queue_xcb LCBD_xcb *  xcb  )  [inline, static]
 

Queue the command list.

Parameters:
xcb LCBD transfer control block
Returns:
LMC_OK

void taskDelay unsigned  delay  )  [inline, static]
 

mock up of the VxWorks taskDelay function on host - just call sleep(delay/60)

Parameters:
delay time (in 60ths of second) to sleep


Generated on Thu Mar 9 22:02:02 2006 by  doxygen 1.4.4