\hypertarget{struct__gnat}{
\section{\_\-gnat Struct Reference}
\label{struct__gnat}\index{_gnat@{\_\-gnat}}
}
struct containing base parameters for the comm io board  


{\tt \#include $<$gnat\_\-p.h$>$}

Collaboration diagram for \_\-gnat:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=197pt]{struct__gnat__coll__graph}
\end{center}
\end{figure}
\subsection*{Data Fields}
\begin{CompactItemize}
\item 
unsigned int \hyperlink{struct__gnat_o0}{m\_\-phys\-Addr}
\item 
unsigned int \hyperlink{struct__gnat_o1}{m\_\-local\-Addr}
\item 
unsigned int \hyperlink{struct__gnat_o2}{m\_\-detect}
\item 
unsigned int \hyperlink{struct__gnat_o3}{m\_\-bndl\-Depth}
\item 
unsigned short \hyperlink{struct__gnat_o4}{m\_\-cmd\-Channel}
\item 
unsigned short \hyperlink{struct__gnat_o5}{m\_\-clk\-Channel}
\item 
unsigned short \hyperlink{struct__gnat_o6}{m\_\-bndl\-Data} \mbox{[}MAX\_\-BNDL\_\-DEPTH $\ast$32\mbox{]}
\item 
unsigned int \hyperlink{struct__gnat_o7}{m\_\-irq\-Level}
\item 
unsigned int \hyperlink{struct__gnat_o8}{m\_\-irq\-Vec}
\item 
unsigned int \hyperlink{struct__gnat_o9}{m\_\-int\-Count}
\item 
\hyperlink{struct__LATp__Interface}{LATp\_\-Interface} \hyperlink{struct__gnat_o10}{m\_\-latp\-Intr}
\item 
unsigned int \hyperlink{struct__gnat_o11}{m\_\-out\-Mask}
\item 
unsigned short \hyperlink{struct__gnat_o12}{m\_\-invert\-Cell\-Header\-Parity}
\item 
unsigned short \hyperlink{struct__gnat_o13}{m\_\-invert\-Cell\-Body\-Parity}
\item 
unsigned int \hyperlink{struct__gnat_o14}{m\_\-active}
\item 
unsigned int \hyperlink{struct__gnat_o15}{m\_\-n\-Skip\-Rsp}
\item 
unsigned int \hyperlink{struct__gnat_o16}{m\_\-rsp\-Buffer} \mbox{[}2\mbox{]}\mbox{[}MAX\_\-EVENT\_\-SIZE\mbox{]}
\item 
unsigned int \hyperlink{struct__gnat_o17}{m\_\-cur\-Buf}
\item 
volatile \hyperlink{struct__regBlock}{reg\-Block} $\ast$ \hyperlink{struct__gnat_o18}{m\_\-base\-Addr}
\item 
volatile \hyperlink{struct__vasuRegBlock}{vasu\-Reg\-Block} $\ast$ \hyperlink{struct__gnat_o19}{m\_\-vasu}
\end{CompactItemize}


\subsection{Detailed Description}
struct containing base parameters for the comm io board 



\subsection{Field Documentation}
\hypertarget{struct__gnat_o14}{
\index{_gnat@{\_\-gnat}!m_active@{m\_\-active}}
\index{m_active@{m\_\-active}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-active]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o14}{\_\-gnat::m\_\-active}}}
\label{struct__gnat_o14}


is this handle active for interrupts ? \hypertarget{struct__gnat_o18}{
\index{_gnat@{\_\-gnat}!m_baseAddr@{m\_\-baseAddr}}
\index{m_baseAddr@{m\_\-baseAddr}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-baseAddr]{\setlength{\rightskip}{0pt plus 5cm}volatile \hyperlink{struct__regBlock}{reg\-Block}$\ast$ \hyperlink{struct__gnat_o18}{\_\-gnat::m\_\-base\-Addr}}}
\label{struct__gnat_o18}


pointer to comm i/o registers \hypertarget{struct__gnat_o6}{
\index{_gnat@{\_\-gnat}!m_bndlData@{m\_\-bndlData}}
\index{m_bndlData@{m\_\-bndlData}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-bndlData]{\setlength{\rightskip}{0pt plus 5cm}unsigned short \hyperlink{struct__gnat_o6}{\_\-gnat::m\_\-bndl\-Data}\mbox{[}MAX\_\-BNDL\_\-DEPTH$\ast$32\mbox{]}}}
\label{struct__gnat_o6}


array of words to send to COMM card \hypertarget{struct__gnat_o3}{
\index{_gnat@{\_\-gnat}!m_bndlDepth@{m\_\-bndlDepth}}
\index{m_bndlDepth@{m\_\-bndlDepth}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-bndlDepth]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o3}{\_\-gnat::m\_\-bndl\-Depth}}}
\label{struct__gnat_o3}


current depth of the channel bundle \hypertarget{struct__gnat_o5}{
\index{_gnat@{\_\-gnat}!m_clkChannel@{m\_\-clkChannel}}
\index{m_clkChannel@{m\_\-clkChannel}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-clkChannel]{\setlength{\rightskip}{0pt plus 5cm}unsigned short \hyperlink{struct__gnat_o5}{\_\-gnat::m\_\-clk\-Channel}}}
\label{struct__gnat_o5}


out going clock channel for COMM card \hypertarget{struct__gnat_o4}{
\index{_gnat@{\_\-gnat}!m_cmdChannel@{m\_\-cmdChannel}}
\index{m_cmdChannel@{m\_\-cmdChannel}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-cmdChannel]{\setlength{\rightskip}{0pt plus 5cm}unsigned short \hyperlink{struct__gnat_o4}{\_\-gnat::m\_\-cmd\-Channel}}}
\label{struct__gnat_o4}


out going command channel for COMM card \hypertarget{struct__gnat_o17}{
\index{_gnat@{\_\-gnat}!m_curBuf@{m\_\-curBuf}}
\index{m_curBuf@{m\_\-curBuf}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-curBuf]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o17}{\_\-gnat::m\_\-cur\-Buf}}}
\label{struct__gnat_o17}


index into m\_\-rsp\-Buffer\mbox{[}\mbox{]} \hypertarget{struct__gnat_o2}{
\index{_gnat@{\_\-gnat}!m_detect@{m\_\-detect}}
\index{m_detect@{m\_\-detect}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-detect]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o2}{\_\-gnat::m\_\-detect}}}
\label{struct__gnat_o2}


Non-zero if COMM board successfully detected \hypertarget{struct__gnat_o9}{
\index{_gnat@{\_\-gnat}!m_intCount@{m\_\-intCount}}
\index{m_intCount@{m\_\-intCount}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-intCount]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o9}{\_\-gnat::m\_\-int\-Count}}}
\label{struct__gnat_o9}


count of interrupts recieved \hypertarget{struct__gnat_o13}{
\index{_gnat@{\_\-gnat}!m_invertCellBodyParity@{m\_\-invertCellBodyParity}}
\index{m_invertCellBodyParity@{m\_\-invertCellBodyParity}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-invertCellBodyParity]{\setlength{\rightskip}{0pt plus 5cm}unsigned short \hyperlink{struct__gnat_o13}{\_\-gnat::m\_\-invert\-Cell\-Body\-Parity}}}
\label{struct__gnat_o13}


XOR-ed into cell body parity -- for testing parity errors \hypertarget{struct__gnat_o12}{
\index{_gnat@{\_\-gnat}!m_invertCellHeaderParity@{m\_\-invertCellHeaderParity}}
\index{m_invertCellHeaderParity@{m\_\-invertCellHeaderParity}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-invertCellHeaderParity]{\setlength{\rightskip}{0pt plus 5cm}unsigned short \hyperlink{struct__gnat_o12}{\_\-gnat::m\_\-invert\-Cell\-Header\-Parity}}}
\label{struct__gnat_o12}


XOR-ed into cell header parity -- for testing parity errors \hypertarget{struct__gnat_o7}{
\index{_gnat@{\_\-gnat}!m_irqLevel@{m\_\-irqLevel}}
\index{m_irqLevel@{m\_\-irqLevel}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-irqLevel]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o7}{\_\-gnat::m\_\-irq\-Level}}}
\label{struct__gnat_o7}


interrupt request level for PACKET\_\-READY \hypertarget{struct__gnat_o8}{
\index{_gnat@{\_\-gnat}!m_irqVec@{m\_\-irqVec}}
\index{m_irqVec@{m\_\-irqVec}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-irqVec]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o8}{\_\-gnat::m\_\-irq\-Vec}}}
\label{struct__gnat_o8}


interrupt vector for PACKET\_\-READY \hypertarget{struct__gnat_o10}{
\index{_gnat@{\_\-gnat}!m_latpIntr@{m\_\-latpIntr}}
\index{m_latpIntr@{m\_\-latpIntr}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-latpIntr]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{struct__LATp__Interface}{LATp\_\-Interface} \hyperlink{struct__gnat_o10}{\_\-gnat::m\_\-latp\-Intr}}}
\label{struct__gnat_o10}


structure containing LATp interface data \hypertarget{struct__gnat_o1}{
\index{_gnat@{\_\-gnat}!m_localAddr@{m\_\-localAddr}}
\index{m_localAddr@{m\_\-localAddr}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-localAddr]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o1}{\_\-gnat::m\_\-local\-Addr}}}
\label{struct__gnat_o1}


local (mapped) base address of the comm board \hypertarget{struct__gnat_o15}{
\index{_gnat@{\_\-gnat}!m_nSkipRsp@{m\_\-nSkipRsp}}
\index{m_nSkipRsp@{m\_\-nSkipRsp}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-nSkipRsp]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o15}{\_\-gnat::m\_\-n\-Skip\-Rsp}}}
\label{struct__gnat_o15}


number of read back FIFO words to skip before storing data \hypertarget{struct__gnat_o11}{
\index{_gnat@{\_\-gnat}!m_outMask@{m\_\-outMask}}
\index{m_outMask@{m\_\-outMask}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-outMask]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o11}{\_\-gnat::m\_\-out\-Mask}}}
\label{struct__gnat_o11}


XOR mask to use when writing to FIFO \hypertarget{struct__gnat_o0}{
\index{_gnat@{\_\-gnat}!m_physAddr@{m\_\-physAddr}}
\index{m_physAddr@{m\_\-physAddr}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-physAddr]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o0}{\_\-gnat::m\_\-phys\-Addr}}}
\label{struct__gnat_o0}


physical base address of the comm board \hypertarget{struct__gnat_o16}{
\index{_gnat@{\_\-gnat}!m_rspBuffer@{m\_\-rspBuffer}}
\index{m_rspBuffer@{m\_\-rspBuffer}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-rspBuffer]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__gnat_o16}{\_\-gnat::m\_\-rsp\-Buffer}\mbox{[}2\mbox{]}\mbox{[}MAX\_\-EVENT\_\-SIZE\mbox{]}}}
\label{struct__gnat_o16}


debugging structure to track previous and current response \hypertarget{struct__gnat_o19}{
\index{_gnat@{\_\-gnat}!m_vasu@{m\_\-vasu}}
\index{m_vasu@{m\_\-vasu}!_gnat@{\_\-gnat}}
\subsubsection[m\_\-vasu]{\setlength{\rightskip}{0pt plus 5cm}volatile \hyperlink{struct__vasuRegBlock}{vasu\-Reg\-Block}$\ast$ \hyperlink{struct__gnat_o19}{\_\-gnat::m\_\-vasu}}}
\label{struct__gnat_o19}


pointer to VASU i/o registers 

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
\hyperlink{gnat__p_8h}{gnat\_\-p.h}\end{CompactItemize}
