GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V10-0-1

Constituent: pig_flying     Tag: linux-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 Implementation of the PIG power and C/R routines. More...

#include "pig_p.h"
#include "pig_macro_p.h"
#include "state_p.h"
#include "PIG/PIG_msgs.h"
#include "PIG/power.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 "LEM/decode.h"
#include "LCBD/LCBD_msgs.h"
#include "LCS/LCS_pubdefs.h"
#include "FBS/FBS_pubrtos.h"
#include "MSG/MSG_pubdefs.h"
#include <string.h>

Include dependency graph for siu_init.c:


Functions

static unsigned cmdrsp_init (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.
static unsigned select_services (LEM_micr *cr, PIG_siu_cfg cfg)
 Sets bits in the GEM/CRU/EBM to select the P/R side of various SC provided services.
unsigned SIB_query (SIB_Info *info)
unsigned PIG_siu_init (PIG_siu_cfg cfg)
 Configure the SIU in response to the MAIN_FEED_ON notification.

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 Implementation of the PIG power and C/R routines.

Author:
James Swain & Owen Saxton
Id
siu_init.c,v 1.31 2007/09/20 20:08:44 saxton Exp

Function Documentation

unsigned cmdrsp_init PIG_siu_cfg  cfg  )  [static]
 

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
Returns:
One of the PIG_msgs

unsigned PIG_siu_init PIG_siu_cfg  cfg  ) 
 

Configure the SIU in response to the MAIN_FEED_ON notification.

Parameters:
cfg SIU configuration structure
Returns:
One of the PIG_msgs

unsigned select_services LEM_micr *  cr,
PIG_siu_cfg  cfg
[static]
 

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
cr Pointer to a structure holding correctly aligned multi-item command and response lists
Returns:
One of 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 Thu Oct 11 05:41:04 2007 by  doxygen 1.4.4