\hypertarget{SIB_8h}{
\section{SIB.h File Reference}
\label{SIB_8h}\index{SIB.h@{SIB.h}}
}
SIB Utility Driver.  


{\tt \#include \char`\"{}SIB/SIB\_\-msg.h\char`\"{}}\par


Include dependency graph for SIB.h:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=60pt]{SIB_8h__incl}
\end{center}
\end{figure}


This graph shows which files directly or indirectly include this file:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=35pt]{SIB_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct \hyperlink{struct__SIB__Info}{\_\-SIB\_\-Info}
\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef \hyperlink{struct__SIB__Info}{\_\-SIB\_\-Info} \hyperlink{SIB_8h_a0}{SIB\_\-Info}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned int \hyperlink{SIB_8h_a1}{SIB\_\-query} (\hyperlink{struct__SIB__Info}{SIB\_\-Info} $\ast$info)
\begin{CompactList}\small\item\em Get SIB addressing information. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
SIB Utility Driver. 

This driver provides a small set of functions for handling the interface to the SIB. Because the SIB board contains such a diverse set of hardware functions, this driver simply provides the basics, such a board discovery and address configuration.

\subsection{Typedef Documentation}
\hypertarget{SIB_8h_a0}{
\index{SIB.h@{SIB.h}!SIB_Info@{SIB\_\-Info}}
\index{SIB_Info@{SIB\_\-Info}!SIB.h@{SIB.h}}
\subsubsection[SIB\_\-Info]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{struct__SIB__Info}{SIB\_\-Info}}}
\label{SIB_8h_a0}


The typedef for \hyperlink{struct__SIB__Info}{\_\-SIB\_\-Info}. 

\subsection{Function Documentation}
\hypertarget{SIB_8h_a1}{
\index{SIB.h@{SIB.h}!SIB_query@{SIB\_\-query}}
\index{SIB_query@{SIB\_\-query}!SIB.h@{SIB.h}}
\subsubsection[SIB\_\-query]{\setlength{\rightskip}{0pt plus 5cm}unsigned int SIB\_\-query (\hyperlink{struct__SIB__Info}{SIB\_\-Info} $\ast$ {\em info})}}
\label{SIB_8h_a1}


Get SIB addressing information. 

Obtain the addresses and sizes of the SIB board memory regions and registers. The BSP function pci\-Find\-Device() 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 {\em 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.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em info}]Pointer to an SIB information structure filled in upon return.\end{description}
\end{Desc}
