GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCBT / V1-6-2 > ssrsim / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LCBT_initBoard.h File Reference

Basic init routines for LCB. More...

#include <LCBD/LCBD.h>
#include <LCBD/LCBD_pci.h>

Functions

int LCBT_initBoard (int latpAddr, int useRedundantPath, LCBD *retLcb)
 inits LCB driver and start 2 tasks associated with driver


Detailed Description

Basic init routines for LCB.

Author:
Ed Bacho -- ebacho@slac.stanford.edu

Function Documentation

int LCBT_initBoard ( int  latpAddr,
int  useRedundantPath,
LCBD *  retLcb 
)

inits LCB driver and start 2 tasks associated with driver

Parameters:
latpAddr LATp addr to assign to this board
useRedundantPath 0=normal path, 1=redundant path
retLcb if not NULL, return lcb
Returns:
0=sucess else indicates errors in init This routine does the init of the driver only, the init of LCBT module should be done with LCBT_init() which calls this routine.
This routine must be called once after boot to setup the LCB driver for tests. In most cases the PIG module will do this and this routine is not called.

References EPRINTF.


Generated on Fri Mar 25 12:51:57 2011 by  doxygen 1.5.8