\hypertarget{tpgmap_8c}{
\section{tpgmap.c File Reference}
\label{tpgmap_8c}\index{tpgmap.c@{tpgmap.c}}
}
Use unknown.  


{\tt \#include $<$vx\-Works.h$>$}\par
{\tt \#include $<$sys\-Lib.h$>$}\par
{\tt \#include $<$task\-Lib.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include \char`\"{}TPG/GTBtypes.h\char`\"{}}\par
{\tt \#include \char`\"{}TPG/GTB.h\char`\"{}}\par
{\tt \#include \char`\"{}tpgmap.h\char`\"{}}\par


Include dependency graph for tpgmap.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=297pt]{tpgmap_8c__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct \hyperlink{struct__TPG__EXT__TRIG__MAP__T}{\_\-TPG\_\-EXT\_\-TRIG\_\-MAP\_\-T}
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
struct \hyperlink{struct__TPG__FREE__MAP__T}{\_\-TPG\_\-FREE\_\-MAP\_\-T}
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
struct \hyperlink{struct__TPG__GTB__MAP__T}{\_\-TPG\_\-GTB\_\-MAP\_\-T}
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
struct \hyperlink{struct__TPG__TEM__MAP__T}{\_\-TPG\_\-TEM\_\-MAP\_\-T}
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
\hypertarget{tpgmap_8c_a4}{
typedef \hyperlink{struct__TPG__TEM__MAP__T}{\_\-TPG\_\-TEM\_\-MAP\_\-T} \hyperlink{tpgmap_8c_a4}{TPG\_\-TEM\_\-MAP}}
\label{tpgmap_8c_a4}

\begin{CompactList}\small\item\em Typedef for struct \hyperlink{struct__TPG__TEM__MAP__T}{\_\-TPG\_\-TEM\_\-MAP\_\-T}. \item\end{CompactList}\item 
\hypertarget{tpgmap_8c_a5}{
typedef \hyperlink{struct__TPG__FREE__MAP__T}{\_\-TPG\_\-FREE\_\-MAP\_\-T} \hyperlink{tpgmap_8c_a5}{TPG\_\-FREE\_\-MAP}}
\label{tpgmap_8c_a5}

\begin{CompactList}\small\item\em Typedef for struct \hyperlink{struct__TPG__FREE__MAP__T}{\_\-TPG\_\-FREE\_\-MAP\_\-T}. \item\end{CompactList}\item 
\hypertarget{tpgmap_8c_a6}{
typedef \hyperlink{struct__TPG__EXT__TRIG__MAP__T}{\_\-TPG\_\-EXT\_\-TRIG\_\-MAP\_\-T} \hyperlink{tpgmap_8c_a6}{TPG\_\-EXT\_\-TRIG\_\-MAP}}
\label{tpgmap_8c_a6}

\begin{CompactList}\small\item\em Typedef for struct \hyperlink{struct__TPG__FREE__MAP__T}{\_\-TPG\_\-FREE\_\-MAP\_\-T}. \item\end{CompactList}\item 
\hypertarget{tpgmap_8c_a7}{
typedef \hyperlink{struct__TPG__GTB__MAP__T}{\_\-TPG\_\-GTB\_\-MAP\_\-T} \hyperlink{tpgmap_8c_a7}{TPG\_\-GTB\_\-MAP}}
\label{tpgmap_8c_a7}

\begin{CompactList}\small\item\em Typedef for struct \hyperlink{struct__TPG__GTB__MAP__T}{\_\-TPG\_\-GTB\_\-MAP\_\-T}. \item\end{CompactList}\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
STATUS \hyperlink{tpgmap_8c_a13}{TPGmap\-Lookup\-Show} (void)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a14}{TPGmap\-Init} (void)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a15}{TPGmap\-Add\-Gtb} (gtb\-Hndl h)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a16}{TPGmap\-Add\-Gtb\-At\-Id} (gtb\-Hndl h, int gtb\-Id)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a17}{TPGmap\-Remove\-Gtb} (gtb\-Hndl h)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a18}{TPGmap\-Bind\-Tem} (int gtb\-Id, int port, int tem\-ID)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a19}{TPGmap\-Unbind\-Tem} (int tem\-ID)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a20}{TPGmap\-Bind\-Free} (int gtb\-Id, int port, int free\-ID, int is\-Rdnt\-Daq)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a21}{TPGmap\-Unbind\-Free} (int free\-ID, int is\-Rdnt\-Daq)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a22}{TPGmap\-Bind\-Ext\-Trig} (int gtb\-Id, int port)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a23}{TPGmap\-Unbind\-Ext\-Trig} (void)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
void \hyperlink{tpgmap_8c_a24}{TPGmap\-Show} (int level)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a25}{TPGmap\-Verify\-Gtb} (int gtb\-Id)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a26}{TPGmap\-Visual\-Gtb} (int gtb\-Id)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a27}{TPGmap\-Gtb\-Id\-Get} (gtb\-Hndl hndl, int $\ast$gtb\-Id)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a28}{TPGmap\-Gtb\-Hndl\-Get} (int gtb\-Id, gtb\-Hndl $\ast$hndl)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a29}{TPGmap\-Cached\-Fifo\-Get} (int gtb\-Id, int fifo\-Id, unsigned int $\ast$$\ast$cache)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a30}{TPGmap\-Cached\-Fifo\-Set} (int gtb\-Id, int fifo\-Id, unsigned int $\ast$cache)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a31}{TPGmap\-Tem\-Chan\-Get} (int tem\-Id, int trig\-Id, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq, unsigned int $\ast$bit\-Pos, unsigned int $\ast$$\ast$buf)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a32}{TPGmap\-Veto\-Chan\-Get} (int free\-Id, int veto\-Id, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq, unsigned int $\ast$bit\-Pos, unsigned int $\ast$$\ast$buf)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a33}{TPGmap\-Cno\-Chan\-Get} (int free\-Id, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq, unsigned int $\ast$bit\-Pos, unsigned int $\ast$$\ast$buf)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a34}{TPGmap\-Ext\-Trig\-Chan\-Get} (\hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq, unsigned int $\ast$bit\-Pos, unsigned int $\ast$$\ast$buf)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a35}{TPGmap\-Tem\-Port\-Get} (int tem\-Id, int trig\-Id, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq, int $\ast$gtb\-Id, int $\ast$port, int $\ast$fifo\-Id)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a36}{TPGmap\-Free\-Port\-Get} (int free\-Id, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq, int $\ast$gtb\-Id, int $\ast$port, int $\ast$fifo\-Id)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a37}{TPGmap\-Cno\-Port\-Get} (int free\-Id, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq, int $\ast$gtb\-Id, int $\ast$port, int $\ast$fifo\-Id)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a38}{TPGmap\-Ext\-Trig\-Port\-Get} (\hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq, int $\ast$gtb\-Id, int $\ast$port, int $\ast$fifo\-Id)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a39}{TPGmap\-Tem\-Test} (int tem\-Id, int trig\-Id, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a40}{TPGmap\-Veto\-Test} (int free\-Id, int veto\-Id, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
STATUS \hyperlink{tpgmap_8c_a41}{TPGmap\-Cno\-Test} (int free\-Id, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} daq)
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
unsigned char \hyperlink{tpgmap_8c_a0}{TPGtrig\-Bit} \mbox{[}TPG\_\-N\_\-DAQS\mbox{]}\mbox{[}TPG\_\-N\_\-TEM\_\-PORTS\mbox{]}\mbox{[}TPG\_\-N\_\-TEM\_\-TRIGS\mbox{]}
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
unsigned char \hyperlink{tpgmap_8c_a1}{TPGveto\-Bit} \mbox{[}TPG\_\-N\_\-DAQS\mbox{]}\mbox{[}TPG\_\-N\_\-FREE\_\-PORTS\mbox{]}\mbox{[}TPG\_\-N\_\-FREE\_\-VETOS\mbox{]}
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
unsigned char \hyperlink{tpgmap_8c_a2}{TPGcno\-Bit} \mbox{[}TPG\_\-N\_\-DAQS\mbox{]}\mbox{[}TPG\_\-N\_\-FREE\_\-PORTS\mbox{]}
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
unsigned char \hyperlink{tpgmap_8c_a3}{TPGext\-Trig\-Bit} \mbox{[}TPG\_\-N\_\-DAQS\mbox{]}\mbox{[}TPG\_\-N\_\-TEM\_\-PORTS\mbox{]}
\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
\hypertarget{tpgmap_8c_a8}{
\hyperlink{struct__TPG__TEM__MAP__T}{TPG\_\-TEM\_\-MAP} \hyperlink{tpgmap_8c_a8}{tpg\-Tem} \mbox{[}TPG\_\-N\_\-TEMS\mbox{]}\mbox{[}TPG\_\-N\_\-DAQS\mbox{]}}
\label{tpgmap_8c_a8}

\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
\hypertarget{tpgmap_8c_a9}{
\hyperlink{struct__TPG__FREE__MAP__T}{TPG\_\-FREE\_\-MAP} \hyperlink{tpgmap_8c_a9}{tpg\-Free} \mbox{[}TPG\_\-N\_\-FREES\mbox{]}\mbox{[}TPG\_\-N\_\-DAQS\mbox{]}}
\label{tpgmap_8c_a9}

\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
\hypertarget{tpgmap_8c_a10}{
\hyperlink{struct__TPG__EXT__TRIG__MAP__T}{TPG\_\-EXT\_\-TRIG\_\-MAP} \hyperlink{tpgmap_8c_a10}{tpg\-Ext\-Trig} \mbox{[}TPG\_\-N\_\-DAQS\mbox{]}}
\label{tpgmap_8c_a10}

\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
\hypertarget{tpgmap_8c_a11}{
\hyperlink{struct__TPG__GTB__MAP__T}{TPG\_\-GTB\_\-MAP} \hyperlink{tpgmap_8c_a11}{tpg\-Gtb} \mbox{[}TPG\_\-N\_\-GTBS\mbox{]}}
\label{tpgmap_8c_a11}

\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\item 
\hypertarget{tpgmap_8c_a12}{
int \hyperlink{tpgmap_8c_a12}{TPGmap\-Ngtbs} = 0}
\label{tpgmap_8c_a12}

\begin{CompactList}\small\item\em Use unknown. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Use unknown. 

\begin{Desc}
\item[Author:]Unknown \end{Desc}


\subsection{Function Documentation}
\hypertarget{tpgmap_8c_a15}{
\index{tpgmap.c@{tpgmap.c}!TPGmapAddGtb@{TPGmapAddGtb}}
\index{TPGmapAddGtb@{TPGmapAddGtb}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapAddGtb]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Add\-Gtb (gtb\-Hndl {\em h})}}
\label{tpgmap_8c_a15}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em h}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}


Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=152pt]{tpgmap_8c_a15_cgraph}
\end{center}
\end{figure}
\hypertarget{tpgmap_8c_a16}{
\index{tpgmap.c@{tpgmap.c}!TPGmapAddGtbAtId@{TPGmapAddGtbAtId}}
\index{TPGmapAddGtbAtId@{TPGmapAddGtbAtId}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapAddGtbAtId]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Add\-Gtb\-At\-Id (gtb\-Hndl {\em h}, int {\em gtb\-Id})}}
\label{tpgmap_8c_a16}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em h}]Unknown \item[{\em gtb\-Id}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a22}{
\index{tpgmap.c@{tpgmap.c}!TPGmapBindExtTrig@{TPGmapBindExtTrig}}
\index{TPGmapBindExtTrig@{TPGmapBindExtTrig}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapBindExtTrig]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Bind\-Ext\-Trig (int {\em gtb\-Id}, int {\em port})}}
\label{tpgmap_8c_a22}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em gtb\-Id}]Unknown \item[{\em port}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a20}{
\index{tpgmap.c@{tpgmap.c}!TPGmapBindFree@{TPGmapBindFree}}
\index{TPGmapBindFree@{TPGmapBindFree}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapBindFree]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Bind\-Free (int {\em gtb\-Id}, int {\em port}, int {\em free\-ID}, int {\em is\-Rdnt\-Daq})}}
\label{tpgmap_8c_a20}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em gtb\-Id}]Unknown \item[{\em port}]Unknown \item[{\em free\-ID}]Unknown \item[{\em is\-Rdnt\-Daq}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a18}{
\index{tpgmap.c@{tpgmap.c}!TPGmapBindTem@{TPGmapBindTem}}
\index{TPGmapBindTem@{TPGmapBindTem}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapBindTem]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Bind\-Tem (int {\em gtb\-Id}, int {\em port}, int {\em tem\-ID})}}
\label{tpgmap_8c_a18}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em gtb\-Id}]Unknown \item[{\em port}]Unknown \item[{\em tem\-ID}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a29}{
\index{tpgmap.c@{tpgmap.c}!TPGmapCachedFifoGet@{TPGmapCachedFifoGet}}
\index{TPGmapCachedFifoGet@{TPGmapCachedFifoGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapCachedFifoGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Cached\-Fifo\-Get (int {\em gtb\-Id}, int {\em fifo\-Id}, unsigned int $\ast$$\ast$ {\em cache})}}
\label{tpgmap_8c_a29}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em gtb\-Id}]Unknown \item[{\em fifo\-Id}]Unknown \item[{\em cache}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}


Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=163pt]{tpgmap_8c_a29_cgraph}
\end{center}
\end{figure}
\hypertarget{tpgmap_8c_a30}{
\index{tpgmap.c@{tpgmap.c}!TPGmapCachedFifoSet@{TPGmapCachedFifoSet}}
\index{TPGmapCachedFifoSet@{TPGmapCachedFifoSet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapCachedFifoSet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Cached\-Fifo\-Set (int {\em gtb\-Id}, int {\em fifo\-Id}, unsigned int $\ast$ {\em cache})}}
\label{tpgmap_8c_a30}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em gtb\-Id}]Unknown \item[{\em fifo\-Id}]Unknown \item[{\em cache}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}


Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=161pt]{tpgmap_8c_a30_cgraph}
\end{center}
\end{figure}
\hypertarget{tpgmap_8c_a33}{
\index{tpgmap.c@{tpgmap.c}!TPGmapCnoChanGet@{TPGmapCnoChanGet}}
\index{TPGmapCnoChanGet@{TPGmapCnoChanGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapCnoChanGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Cno\-Chan\-Get (int {\em free\-Id}, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq}, unsigned int $\ast$ {\em bit\-Pos}, unsigned int $\ast$$\ast$ {\em buf})}}
\label{tpgmap_8c_a33}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em free\-Id}]Unknown \item[{\em daq}]Unknown \item[{\em bit\-Pos}]Unknown \item[{\em buf}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a37}{
\index{tpgmap.c@{tpgmap.c}!TPGmapCnoPortGet@{TPGmapCnoPortGet}}
\index{TPGmapCnoPortGet@{TPGmapCnoPortGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapCnoPortGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Cno\-Port\-Get (int {\em free\-Id}, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq}, int $\ast$ {\em gtb\-Id}, int $\ast$ {\em port}, int $\ast$ {\em fifo\-Id})}}
\label{tpgmap_8c_a37}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em free\-Id}]Unknown \item[{\em daq}]Unknown \item[{\em gtb\-Id}]Unknown \item[{\em port}]Unknown \item[{\em fifo\-Id}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a41}{
\index{tpgmap.c@{tpgmap.c}!TPGmapCnoTest@{TPGmapCnoTest}}
\index{TPGmapCnoTest@{TPGmapCnoTest}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapCnoTest]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Cno\-Test (int {\em free\-Id}, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq})}}
\label{tpgmap_8c_a41}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em free\-Id}]Unknown \item[{\em daq}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}


Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=152pt]{tpgmap_8c_a41_cgraph}
\end{center}
\end{figure}
\hypertarget{tpgmap_8c_a34}{
\index{tpgmap.c@{tpgmap.c}!TPGmapExtTrigChanGet@{TPGmapExtTrigChanGet}}
\index{TPGmapExtTrigChanGet@{TPGmapExtTrigChanGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapExtTrigChanGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Ext\-Trig\-Chan\-Get (\hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq}, unsigned int $\ast$ {\em bit\-Pos}, unsigned int $\ast$$\ast$ {\em buf})}}
\label{tpgmap_8c_a34}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em daq}]Unknown \item[{\em bit\-Pos}]Unknown \item[{\em buf}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a38}{
\index{tpgmap.c@{tpgmap.c}!TPGmapExtTrigPortGet@{TPGmapExtTrigPortGet}}
\index{TPGmapExtTrigPortGet@{TPGmapExtTrigPortGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapExtTrigPortGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Ext\-Trig\-Port\-Get (\hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq}, int $\ast$ {\em gtb\-Id}, int $\ast$ {\em port}, int $\ast$ {\em fifo\-Id})}}
\label{tpgmap_8c_a38}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em daq}]Unknown \item[{\em gtb\-Id}]Unknown \item[{\em port}]Unknown \item[{\em fifo\-Id}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a36}{
\index{tpgmap.c@{tpgmap.c}!TPGmapFreePortGet@{TPGmapFreePortGet}}
\index{TPGmapFreePortGet@{TPGmapFreePortGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapFreePortGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Free\-Port\-Get (int {\em free\-Id}, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq}, int $\ast$ {\em gtb\-Id}, int $\ast$ {\em port}, int $\ast$ {\em fifo\-Id})}}
\label{tpgmap_8c_a36}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em free\-Id}]Unknown \item[{\em daq}]Unknown \item[{\em gtb\-Id}]Unknown \item[{\em port}]Unknown \item[{\em fifo\-Id}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a28}{
\index{tpgmap.c@{tpgmap.c}!TPGmapGtbHndlGet@{TPGmapGtbHndlGet}}
\index{TPGmapGtbHndlGet@{TPGmapGtbHndlGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapGtbHndlGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Gtb\-Hndl\-Get (int {\em gtb\-Id}, gtb\-Hndl $\ast$ {\em hndl})}}
\label{tpgmap_8c_a28}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em gtb\-Id}]Unknown \item[{\em hndl}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a27}{
\index{tpgmap.c@{tpgmap.c}!TPGmapGtbIdGet@{TPGmapGtbIdGet}}
\index{TPGmapGtbIdGet@{TPGmapGtbIdGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapGtbIdGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Gtb\-Id\-Get (gtb\-Hndl {\em hndl}, int $\ast$ {\em gtb\-Id})}}
\label{tpgmap_8c_a27}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em hndl}]Unknown \item[{\em gtb\-Id}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a14}{
\index{tpgmap.c@{tpgmap.c}!TPGmapInit@{TPGmapInit}}
\index{TPGmapInit@{TPGmapInit}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapInit]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Init (void)}}
\label{tpgmap_8c_a14}


Use unknown. 

\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a13}{
\index{tpgmap.c@{tpgmap.c}!TPGmapLookupShow@{TPGmapLookupShow}}
\index{TPGmapLookupShow@{TPGmapLookupShow}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapLookupShow]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Lookup\-Show (void)}}
\label{tpgmap_8c_a13}


Use unknown. 

\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a17}{
\index{tpgmap.c@{tpgmap.c}!TPGmapRemoveGtb@{TPGmapRemoveGtb}}
\index{TPGmapRemoveGtb@{TPGmapRemoveGtb}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapRemoveGtb]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Remove\-Gtb (gtb\-Hndl {\em h})}}
\label{tpgmap_8c_a17}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em h}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a24}{
\index{tpgmap.c@{tpgmap.c}!TPGmapShow@{TPGmapShow}}
\index{TPGmapShow@{TPGmapShow}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapShow]{\setlength{\rightskip}{0pt plus 5cm}void TPGmap\-Show (int {\em level})}}
\label{tpgmap_8c_a24}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em level}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a31}{
\index{tpgmap.c@{tpgmap.c}!TPGmapTemChanGet@{TPGmapTemChanGet}}
\index{TPGmapTemChanGet@{TPGmapTemChanGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapTemChanGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Tem\-Chan\-Get (int {\em tem\-Id}, int {\em trig\-Id}, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq}, unsigned int $\ast$ {\em bit\-Pos}, unsigned int $\ast$$\ast$ {\em buf})}}
\label{tpgmap_8c_a31}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em tem\-Id}]Unknown \item[{\em trig\-Id}]Unknown \item[{\em daq}]Unknown \item[{\em bit\-Pos}]Unknown \item[{\em buf}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a35}{
\index{tpgmap.c@{tpgmap.c}!TPGmapTemPortGet@{TPGmapTemPortGet}}
\index{TPGmapTemPortGet@{TPGmapTemPortGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapTemPortGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Tem\-Port\-Get (int {\em tem\-Id}, int {\em trig\-Id}, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq}, int $\ast$ {\em gtb\-Id}, int $\ast$ {\em port}, int $\ast$ {\em fifo\-Id})}}
\label{tpgmap_8c_a35}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em tem\-Id}]Unknown \item[{\em trig\-Id}]Unknown \item[{\em daq}]Unknown \item[{\em gtb\-Id}]Unknown \item[{\em port}]Unknown \item[{\em fifo\-Id}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a39}{
\index{tpgmap.c@{tpgmap.c}!TPGmapTemTest@{TPGmapTemTest}}
\index{TPGmapTemTest@{TPGmapTemTest}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapTemTest]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Tem\-Test (int {\em tem\-Id}, int {\em trig\-Id}, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq})}}
\label{tpgmap_8c_a39}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em tem\-Id}]Unknown \item[{\em trig\-Id}]Unknown \item[{\em daq}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}


Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=154pt]{tpgmap_8c_a39_cgraph}
\end{center}
\end{figure}
\hypertarget{tpgmap_8c_a23}{
\index{tpgmap.c@{tpgmap.c}!TPGmapUnbindExtTrig@{TPGmapUnbindExtTrig}}
\index{TPGmapUnbindExtTrig@{TPGmapUnbindExtTrig}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapUnbindExtTrig]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Unbind\-Ext\-Trig (void)}}
\label{tpgmap_8c_a23}


Use unknown. 

\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a21}{
\index{tpgmap.c@{tpgmap.c}!TPGmapUnbindFree@{TPGmapUnbindFree}}
\index{TPGmapUnbindFree@{TPGmapUnbindFree}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapUnbindFree]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Unbind\-Free (int {\em free\-ID}, int {\em is\-Rdnt\-Daq})}}
\label{tpgmap_8c_a21}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em free\-ID}]Unknown \item[{\em is\-Rdnt\-Daq}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a19}{
\index{tpgmap.c@{tpgmap.c}!TPGmapUnbindTem@{TPGmapUnbindTem}}
\index{TPGmapUnbindTem@{TPGmapUnbindTem}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapUnbindTem]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Unbind\-Tem (int {\em tem\-ID})}}
\label{tpgmap_8c_a19}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em tem\-ID}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a25}{
\index{tpgmap.c@{tpgmap.c}!TPGmapVerifyGtb@{TPGmapVerifyGtb}}
\index{TPGmapVerifyGtb@{TPGmapVerifyGtb}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapVerifyGtb]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Verify\-Gtb (int {\em gtb\-Id})}}
\label{tpgmap_8c_a25}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em gtb\-Id}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a32}{
\index{tpgmap.c@{tpgmap.c}!TPGmapVetoChanGet@{TPGmapVetoChanGet}}
\index{TPGmapVetoChanGet@{TPGmapVetoChanGet}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapVetoChanGet]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Veto\-Chan\-Get (int {\em free\-Id}, int {\em veto\-Id}, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq}, unsigned int $\ast$ {\em bit\-Pos}, unsigned int $\ast$$\ast$ {\em buf})}}
\label{tpgmap_8c_a32}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em free\-Id}]Unknown \item[{\em veto\-Id}]Unknown \item[{\em daq}]Unknown \item[{\em bit\-Pos}]Unknown \item[{\em buf}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}
\hypertarget{tpgmap_8c_a40}{
\index{tpgmap.c@{tpgmap.c}!TPGmapVetoTest@{TPGmapVetoTest}}
\index{TPGmapVetoTest@{TPGmapVetoTest}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapVetoTest]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Veto\-Test (int {\em free\-Id}, int {\em veto\-Id}, \hyperlink{tpgmap_8h_a53}{TPG\_\-DAQ} {\em daq})}}
\label{tpgmap_8c_a40}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em free\-Id}]Unknown \item[{\em veto\-Id}]Unknown \item[{\em daq}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}


Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=156pt]{tpgmap_8c_a40_cgraph}
\end{center}
\end{figure}
\hypertarget{tpgmap_8c_a26}{
\index{tpgmap.c@{tpgmap.c}!TPGmapVisualGtb@{TPGmapVisualGtb}}
\index{TPGmapVisualGtb@{TPGmapVisualGtb}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGmapVisualGtb]{\setlength{\rightskip}{0pt plus 5cm}STATUS TPGmap\-Visual\-Gtb (int {\em gtb\-Id})}}
\label{tpgmap_8c_a26}


Use unknown. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em gtb\-Id}]Unknown \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Unknown \end{Desc}


Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=151pt]{tpgmap_8c_a26_cgraph}
\end{center}
\end{figure}


\subsection{Variable Documentation}
\hypertarget{tpgmap_8c_a2}{
\index{tpgmap.c@{tpgmap.c}!TPGcnoBit@{TPGcnoBit}}
\index{TPGcnoBit@{TPGcnoBit}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGcnoBit]{\setlength{\rightskip}{0pt plus 5cm}unsigned char \hyperlink{tpgmap_8c_a2}{TPGcno\-Bit}\mbox{[}TPG\_\-N\_\-DAQS\mbox{]}\mbox{[}TPG\_\-N\_\-FREE\_\-PORTS\mbox{]}}}
\label{tpgmap_8c_a2}


{\bf Initial value:}

\footnotesize\begin{verbatim} {
    
    {0, 1},   
    
    {0, 1}, 
}
\end{verbatim}\normalsize 
Use unknown. 

\hypertarget{tpgmap_8c_a3}{
\index{tpgmap.c@{tpgmap.c}!TPGextTrigBit@{TPGextTrigBit}}
\index{TPGextTrigBit@{TPGextTrigBit}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGextTrigBit]{\setlength{\rightskip}{0pt plus 5cm}unsigned char \hyperlink{tpgmap_8c_a3}{TPGext\-Trig\-Bit}\mbox{[}TPG\_\-N\_\-DAQS\mbox{]}\mbox{[}TPG\_\-N\_\-TEM\_\-PORTS\mbox{]}}}
\label{tpgmap_8c_a3}


{\bf Initial value:}

\footnotesize\begin{verbatim} {
    
    {25, 7, 18, 0},
    {31, 13, 22, 4},
}
\end{verbatim}\normalsize 
Use unknown. 

\hypertarget{tpgmap_8c_a0}{
\index{tpgmap.c@{tpgmap.c}!TPGtrigBit@{TPGtrigBit}}
\index{TPGtrigBit@{TPGtrigBit}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGtrigBit]{\setlength{\rightskip}{0pt plus 5cm}unsigned char \hyperlink{tpgmap_8c_a0}{TPGtrig\-Bit}\mbox{[}TPG\_\-N\_\-DAQS\mbox{]}\mbox{[}TPG\_\-N\_\-TEM\_\-PORTS\mbox{]}\mbox{[}TPG\_\-N\_\-TEM\_\-TRIGS\mbox{]}}}
\label{tpgmap_8c_a0}


{\bf Initial value:}

\footnotesize\begin{verbatim} {
    
    {{25, 27, 28, 29},  
     {7,  9,  10, 11},   
     {18, 19, 20, 21},   
     {0,  1,  2,  3}},   
    
    {{31, 33, 34, 35},  
     {13, 15, 16, 17},   
     {22, 23, 24, 26},   
     {4,  5,  6,  8}},   
}
\end{verbatim}\normalsize 
Use unknown. 

\hypertarget{tpgmap_8c_a1}{
\index{tpgmap.c@{tpgmap.c}!TPGvetoBit@{TPGvetoBit}}
\index{TPGvetoBit@{TPGvetoBit}!tpgmap.c@{tpgmap.c}}
\subsubsection[TPGvetoBit]{\setlength{\rightskip}{0pt plus 5cm}unsigned char \hyperlink{tpgmap_8c_a1}{TPGveto\-Bit}\mbox{[}TPG\_\-N\_\-DAQS\mbox{]}\mbox{[}TPG\_\-N\_\-FREE\_\-PORTS\mbox{]}\mbox{[}TPG\_\-N\_\-FREE\_\-VETOS\mbox{]}}}
\label{tpgmap_8c_a1}


{\bf Initial value:}

\footnotesize\begin{verbatim} {
    
    {{18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35},
     {0,  1,  2,  3,  4,  5,  6,  7,  8,  9,  10, 11, 12, 13, 14, 15, 16, 17}},
    
    {{18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35},
     {0,  1,  2,  3,  4,  5,  6,  7,  8,  9,  10, 11, 12, 13, 14, 15, 16, 17}},
}
\end{verbatim}\normalsize 
Use unknown. 

