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

Constituent: sib     Tag: mcp750


Interface   Compound List   File List   Compound Members   File Members  

SIB.c File Reference

Function definitions for SIB utility driver. More...

#include "vxWorks.h"
#include "pci.h"
#include "mv2600.h"
#include "drv/pci/pciConfigLib.h"
#include "drv/sib/sib.h"
#include "SIB/SIB.h"
#include "MSG/MSG_pubdefs.h"

Include dependency graph for SIB.c:

Include dependency graph

Defines

#define SIB_MSG(_status, _param)   _msg_report((_status), 0, 1, (_param))
#define SIB_NULL_ADDR   0xffffffff
#define SIB_SUMT_REG_SIZE   0x80

Functions

unsigned int SIB_query (SIB_Info *info)
 Get SIB addressing information.


Detailed Description

Function definitions for SIB utility driver.

Author:
D.L. Wood

Define Documentation

#define SIB_MSG _status,
_param   )     _msg_report((_status), 0, 1, (_param))
 

Configuration-dependent message signaller. For boot configuration, a no-op. For application configuration, calls MSG_signal().

Parameters:
_status The variable holding the status code.
_param The message specific parameter value.

#define SIB_NULL_ADDR   0xffffffff
 

A value to use for a missing register address.

#define SIB_SUMT_REG_SIZE   0x80
 

The size in bytes of the Summit internal register memory space.


Function Documentation

unsigned int SIB_query SIB_Info info  ) 
 

Get SIB addressing information.

Obtain the addresses and sizes of the SIB board memory regions and registers. The BSP function pciFindDevice() is used to scan the bus for an SIB board. Both the flight/EM model and evaluation model SIB boards are recognized. This function only supports a single instance of the SIB board on the PCI bus, so the first board found is queried. The info structure is filled in with the SIB hardware values upon success. Because the evaluation model SIB board does not include the PDU/GASU or heater control hardware, those registers are marked with address 0xffffffff.

Parameters:
info Pointer to an SIB information structure filled in upon return.


Generated on Sat May 15 03:06:20 2004 by doxygen 1.3.3