GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V8-7-0

Constituent: pig_lcb_init     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

lcb.h File Reference

LCB initialisation routine - on its way out of PIG. More...

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


Functions

void PIG_fabric_select (unsigned use_sec_dab)
 Select the primary or redundant fabric.
unsigned PIG_lcb_init (unsigned bit_wide)
unsigned PIG_lcb_complete (void)
 Complete the LCB initialisation by enabling the clock and result interrupts, waiting for the LCB to come online and setting the board ID.

Detailed Description

LCB initialisation routine - on its way out of PIG.

Author:
James Swain - jswain@slac.stanford.edu

Function Documentation

void PIG_fabric_select unsigned  use_sec_dab  ) 
 

Select the primary or redundant fabric.

Parameters:
use_sec_dab 0 if the primary fabric is to be used, non-zero otherwise

unsigned PIG_lcb_complete void   ) 
 

Complete the LCB initialisation by enabling the clock and result interrupts, waiting for the LCB to come online and setting the board ID.

Returns:
PIG_BADCPU If siu_id is not 0, 1 or 2, or an error from LCBD_load_wait or LCBD_csr_access

unsigned PIG_lcb_init unsigned  bit_wide  ) 
 

Parameters:
bit_wide 0 (byte wide) | 1 (bit wide)
Return values:
PIG_INMUD if all goes well
LCBD_ Another error code from the underlying LCBD functions


Generated on Mon Dec 12 21:18:30 2005 by  doxygen 1.4.4