GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCS / V1-2-1

Constituent: lcs     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

LCS_configure.c File Reference

Management of the LCS master control block. More...

#include <stdio.h>
#include <string.h>
#include "CDM/CDM_pubdefs.h"
#include "PBS/TASK.h"
#include "CPU_DB/CPU_DB_pubdefs.h"
#include "LCS_DB/LCS_DB_schema.h"
#include "MSG/MSG_pubdefs.h"
#include "LCS/LCS_pubdefs.h"
#include "LCS/LCS_msgs.h"
#include "LCS_prvdefs.h"

Include dependency graph for LCS_configure.c:

Include dependency graph

Data Structures

struct  _LCS_Configure
 CRX service block. More...


Typedefs

typedef _LCS_Configure LCS_Configure
 Typedef for struct _LCS_Configure.


Functions

unsigned int LCS_configure ()
 Configure the LCS system from a CDM configuration database.

unsigned int LCS_rundown ()
 Run down the LCS tasks/resources configured with LCS_configure().


Variables

LCS_Configure cfg
 LCS configuration description (and how to run down).

const LCS_DB_LTX_Service compiled_siu_services []
 List of LTX (CPU/CPU) service descriptions (SIU version).

const LCS_DB_Schema compiled_siu
 Configurable settings for the LCS system (SIU version).

const LCS_DB_LTX_Service compiled_epu_services []
 List of LTX (CPU/CPU) service descriptions (EPU version).

const LCS_DB_Schema compiled_epu
 Configurable settings for the LCS system (EPU version).

TASK_attr STX_taskAttributes
 Internally compiled configuration defaults: STX task attributes.

TASK_attr LTX_taskAttributes
 Internally compiled configuration defaults: LTX task attributes.


Detailed Description

Management of the LCS master control block.

CVS $Id: LCS_configure.c,v 1.1 2005/09/08 03:54:13 apw Exp $
Author:
A.P.Waite

Function Documentation

unsigned int LCS_configure void   ) 
 

Configure the LCS system from a CDM configuration database.

Return values:
LCS_SUCCESS Success
LCS_configure() creates and starts the LCS services (both transmit and receive, and in the case of transmit, both CPU/CPU and CPU/SDI) based on parameters found in the LCS CDM configuration database.

Here is the call graph for this function:

unsigned int LCS_rundown void   ) 
 

Run down the LCS tasks/resources configured with LCS_configure().

Return values:
LCS_SUCCESS Success
LCS_rundown() uses contextual information gathered during LCS_configure() to run down all the LCS tasks and their associated resources.

Here is the call graph for this function:


Variable Documentation

static const LCS_DB_Schema compiled_epu [static]
 

Initial value:

{
                                
    7,                          

                                
    sizeof( compiled_epu_services ) /
        sizeof( LCS_DB_LTX_Service ),
                                
    compiled_epu_services       
}
Configurable settings for the LCS system (EPU version).

static const LCS_DB_LTX_Service compiled_epu_services[] [static]
 

Initial value:

 
{
    {                           
        ITC_SID_LTX0   ,        
        ITC_NIM_SIU    |        
        ITC_NIM_EPU0   |        
        ITC_NIM_EPU1   |        
        ITC_NIM_EPU2   |        
        ITC_NIM_EPU3   |        
        ITC_NIM_SC     ,        
        7              ,        
        100000         ,        

                                
        NULL           ,        
        0              ,        
        0              ,        
        NULL                    
    }
}
List of LTX (CPU/CPU) service descriptions (EPU version).

static const LCS_DB_Schema compiled_siu [static]
 

Initial value:

{
                                
    7,                          

                                
    sizeof( compiled_siu_services ) /
        sizeof( LCS_DB_LTX_Service ),
                                
    compiled_siu_services       
}
Configurable settings for the LCS system (SIU version).

static const LCS_DB_LTX_Service compiled_siu_services[] [static]
 

Initial value:

 
{
    {                           
        ITC_SID_LTX0   ,        
        ITC_NIM_EPU0   |        
        ITC_NIM_EPU1   |        
        ITC_NIM_EPU2   |        
        ITC_NIM_EPU3   ,        
        7              ,        
        100000         ,        

                                
        "rLTX0"        ,        
        1024           ,        
        256            ,        
        NULL                    
    }
}
List of LTX (CPU/CPU) service descriptions (SIU version).

static TASK_attr LTX_taskAttributes [static]
 

Initial value:

{
    "uLTX",    201,  0,  NULL,  0
}
Internally compiled configuration defaults: LTX task attributes.

static TASK_attr STX_taskAttributes [static]
 

Initial value:

{
    "uSTX",    210,  0,  NULL,  0
}
Internally compiled configuration defaults: STX task attributes.


Generated on Tue Sep 20 21:38:16 2005 by doxygen 1.3.3