GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCBT / V1-1-0

Constituent: ssrsim     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

LCBT_initBoard.c File Reference

Init routine for the LCB board only, use LCBT_init for LCBT module. More...

#include "PBS/PBS.h"
#include "PBS/MBA.h"
#include "PBS/CACHE.h"
#include "LCBT/LCBT_initBoard.h"
#include "trace.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Include dependency graph for LCBT_initBoard.c:

Include dependency graph

Functions

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


Detailed Description

Init routine for the LCB board only, use LCBT_init for LCBT module.

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

Function Documentation

int LCBT_initBoard int  latpAddr,
int  useRedundantPath,
LCB *  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. (currently there is no way to shut down the driver, therefore to change the above parms, like latpAddr, one needs to reboot and call with new parameters. If this is called multiple times, the current LCB driver will create multiple tasks trying to listen to the ISR)


Generated on Sat Oct 30 07:45:40 2004 by doxygen 1.3.3