GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V8-8-2

Constituent: pig_flying     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

siu_init.c File Reference

Pulls together the operations of powering LCB-DAB-PDU chain, setting the C/R fabric and verifying the presence of a functioning LCB. More...

#include "PIG/PIG_msgs.h"
#include "PIG/power.h"
#include "PIG/lcb.h"
#include "pig_p.h"
#include "pig_macro_p.h"
#include "CDM/CDM_pubdefs.h"
#include "LEM/msg_macros.h"
#include "LEM/defs.h"
#include "LEM/list_macros.h"
#include "LEM/list.h"
#include "LCBD/LCBD_msgs.h"
#include "FBS/FBS_pubrtos.h"
#include "MSG/MSG_pubdefs.h"
#include <string.h>

Include dependency graph for siu_init.c:


Enumerations

enum  { LCBD_CSR_TIMEOUT = 500 }

Functions

unsigned SIB_query (SIB_Info *info)
 Provide the SIB_query function on host systems.
unsigned PIG_siu_init (LEM_micr *cmdRsp, PIG_siu_cfg cfg)
 Configure the SIU in response to the MAIN_FEED_ON notification.
unsigned PIG_cr_init (LEM_micr *cmdRsp, PIG_siu_cfg cfg)
 Initialise the C/R fabric by sending the CRU a LAM and then inserting the GEM, the EBM and any powered PDUs.
unsigned PIG_select_services (LEM_micr *cmdRsp, PIG_siu_cfg cfg)
 Sets bits in the GEM/CRU/EBM to select the P/R side of various SC provided services.

Detailed Description

Pulls together the operations of powering LCB-DAB-PDU chain, setting the C/R fabric and verifying the presence of a functioning LCB.

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

Function Documentation

unsigned PIG_cr_init LEM_micr *  cmdRsp,
PIG_siu_cfg  cfg
 

Initialise the C/R fabric by sending the CRU a LAM and then inserting the GEM, the EBM and any powered PDUs.

Parameters:
cfg SIU configuration structure
cmdRsp Pointer to a structure holding correctly aligned mutli-item command and response lists
Returns:
One of the PIG_msgs

unsigned PIG_select_services LEM_micr *  cmdRsp,
PIG_siu_cfg  cfg
 

Sets bits in the GEM/CRU/EBM to select the P/R side of various SC provided services.

Parameters:
cfg Pointer to the a structure descrbing the configuration required
cmdRsp Pointer to a structure holding correctly aligned mutli-item command and response lists
Returns:
One of PIG_msgs

unsigned PIG_siu_init LEM_micr *  cmdRsp,
PIG_siu_cfg  cfg
 

Configure the SIU in response to the MAIN_FEED_ON notification.

Parameters:
cfg SIU configuration structure
cmdRsp Pointer to a structure holding correctly aligned mutli-item command and response lists
Returns:
One of the PIG_msgs

unsigned SIB_query SIB_Info *  info  ) 
 

Provide the SIB_query function on host systems.

Parameters:
info Ignored
Return values:
PIG_NOSIB 


Generated on Wed Mar 15 23:40:15 2006 by  doxygen 1.4.4