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

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

#include "PIG/PIG_msgs.h"
#include "PIG/power.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 "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

unsigned SIB_query (SIB_Info *info)
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 Implementation of the PIG power and C/R routines.

Author:
James Swain & Owen Saxton
Id
siu_init.c,v 1.29 2006/10/26 02:22:52 apw Exp

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 multi-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 multi-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 multi-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 Thu Oct 26 13:57:16 2006 by  doxygen 1.4.4