GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > DUTIL / V1-0-2

Constituent: start     Tag: rad750


Interface   Compound List   File List   Compound Members   File Members  

start.h File Reference

Start the LCB. More...

#include "DUTIL/LCB_cfg.h"
#include "LCB/LIOX_sync_handle.h"
#include "LCB/LCB.h"

Include dependency graph for start.h:

Include dependency graph

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

Included by dependency graph

Functions

unsigned getEPUaddr (LIOXs slh)
 Returns address to use in the event contributions.

unsigned createSLH (LCB lcb, LIOXs *slh)
 Allocate memory for and initializes Synchronous LIOX handle.

unsigned LCB_startup (LCB *pLCB, LCB_cfg *conf)
 Laundry list of LCB initializations.

unsigned LCB_promote (LIOXs slh)
 Assert the LCB commander wire - field promotion from SLAVE to COMMANDER.

unsigned LCB_demote (LIOXs slh)
 De-assert the LCB commander wire.

void useOtherLATp (LCB lcb, LIOXs slh)
 Invert the command and event path bits in the configuration registers of the LCB (change to the other LATp fabric) Note that the switching is order dependant. Change the command path first, then change the event path.

void usePrimaryLATp (LCB lcb, LIOXs slh)
 Clear the C/R and event path bits Note that the switching is order dependant. Change the command path first, then change the event path.

void useRedundantLATp (LCB lcb, LIOXs slh)
 Set the C/R and event path bits Note that the switching is order dependant. Change the command path first, then change the event path.


Detailed Description

Start the LCB.

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

Function Documentation

unsigned createSLH LCB  lcb,
LIOXs *  slh
 

Allocate memory for and initializes Synchronous LIOX handle.

Parameters:
lcb Initialized LCB handle
slh Pointer to uninitialed Synchronous LIOX handle
Returns:
LCB_OK

unsigned getEPUaddr LIOXs  slh  ) 
 

Returns address to use in the event contributions.

Parameters:
slh Synchronous LIOX handle
Returns:
Destination address to use when configuring the GEM
Once the round-robin functionality is available in the EBM, this will return 0. Until then it returns the address of the commander node.

unsigned LCB_demote LIOXs  slh  ) 
 

De-assert the LCB commander wire.

Parameters:
slh Synchronous LIOX handle
Returns:
Status of the CSR write

unsigned LCB_promote LIOXs  slh  ) 
 

Assert the LCB commander wire - field promotion from SLAVE to COMMANDER.

Parameters:
slh Synchronous LIOX handle
Returns:
Status of the CSR write

unsigned LCB_startup LCB *  pLCB,
LCB_cfg cfg
 

Laundry list of LCB initializations.

Parameters:
pLCB pointer to hold Initialized LCB handle
cfg Pointer to a LCB_cfg structure containing configuration information
Returns:
LCB_OK

Here is the call graph for this function:

void useOtherLATp LCB  lcb,
LIOXs  slh
 

Invert the command and event path bits in the configuration registers of the LCB (change to the other LATp fabric) Note that the switching is order dependant. Change the command path first, then change the event path.

Parameters:
lcb Pointer to the LCB
slh Synchronous LIOX handle

void usePrimaryLATp LCB  lcb,
LIOXs  slh
 

Clear the C/R and event path bits Note that the switching is order dependant. Change the command path first, then change the event path.

Parameters:
lcb Pointer to the LCB
slh Synchronous LIOX handle

void useRedundantLATp LCB  lcb,
LIOXs  slh
 

Set the C/R and event path bits Note that the switching is order dependant. Change the command path first, then change the event path.

Parameters:
lcb Pointer to the LCB
slh Synchronous LIOX handle


Generated on Tue Aug 17 02:08:58 2004 by doxygen 1.3.3