\hypertarget{map_8h}{
\section{map.h File Reference}
\label{map_8h}\index{map.h@{map.h}}
}
Configuration map creation, initialisation and manipulation functions. 

{\tt \#include \char`\"{}RIM/lrd.h\char`\"{}}\par
{\tt \#include $<$unistd.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par


Include dependency graph for map.h:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=151pt]{map_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=174pt]{map_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
\hypertarget{map_8h_a0}{
typedef \hyperlink{structRIM__map__}{RIM\_\-map\_\-} \hyperlink{map_8h_a0}{RIM\_\-map}}
\label{map_8h_a0}

\begin{CompactList}\small\item\em Forward declaration of the RIM\_\-map structure, a bit-map of all the LAT components. \item\end{CompactList}\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hypertarget{map_8h_a1}{
size\_\-t {\bf RIM\_\-sizeof\-Map} (void)}
\label{map_8h_a1}

\item 
\hypertarget{map_8h_a2}{
\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$ {\bf RIM\_\-construct\-Map} (void $\ast$buffer)}
\label{map_8h_a2}

\item 
\hypertarget{map_8h_a3}{
unsigned {\bf RIM\_\-set\-Bit} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, \hyperlink{lrd_8h_a0}{RIM\_\-type} type, const \hyperlink{unionRIM__addr}{RIM\_\-addr} $\ast$addr)}
\label{map_8h_a3}

\item 
\hypertarget{map_8h_a4}{
unsigned {\bf RIM\_\-clear\-Bit} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, \hyperlink{lrd_8h_a0}{RIM\_\-type} type, const \hyperlink{unionRIM__addr}{RIM\_\-addr} $\ast$addr)}
\label{map_8h_a4}

\item 
\hypertarget{map_8h_a5}{
int {\bf RIM\_\-check\-Bit} (const \hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, \hyperlink{lrd_8h_a0}{RIM\_\-type} type, const \hyperlink{unionRIM__addr}{RIM\_\-addr} $\ast$addr)}
\label{map_8h_a5}

\item 
\hypertarget{map_8h_a6}{
int {\bf RIM\_\-count\-Bits} (const \hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, \hyperlink{lrd_8h_a0}{RIM\_\-type} type)}
\label{map_8h_a6}

\item 
\hypertarget{map_8h_a7}{
void {\bf RIM\_\-set\-ACD} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map)}
\label{map_8h_a7}

\item 
\hypertarget{map_8h_a8}{
void {\bf RIM\_\-clear\-ACD} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map)}
\label{map_8h_a8}

\item 
\hypertarget{map_8h_a9}{
unsigned {\bf RIM\_\-set\-TWR} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, unsigned twr)}
\label{map_8h_a9}

\item 
\hypertarget{map_8h_a10}{
unsigned {\bf RIM\_\-clear\-TWR} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, unsigned twr)}
\label{map_8h_a10}

\item 
\hypertarget{map_8h_a11}{
unsigned {\bf RIM\_\-set\-By\-TWR} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, \hyperlink{lrd_8h_a0}{RIM\_\-type} type, unsigned twr)}
\label{map_8h_a11}

\item 
\hypertarget{map_8h_a12}{
unsigned {\bf RIM\_\-clear\-By\-TWR} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, \hyperlink{lrd_8h_a0}{RIM\_\-type} type, unsigned twr)}
\label{map_8h_a12}

\item 
\hypertarget{map_8h_a13}{
void {\bf RIM\_\-set\-Map} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map)}
\label{map_8h_a13}

\item 
\hypertarget{map_8h_a14}{
void {\bf RIM\_\-clear\-Map} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map)}
\label{map_8h_a14}

\item 
\hypertarget{map_8h_a15}{
void {\bf RIM\_\-dump\-Map} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, FILE $\ast$fp)}
\label{map_8h_a15}

\item 
\hypertarget{map_8h_a16}{
unsigned {\bf RIM\_\-create\-Map} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, int fd)}
\label{map_8h_a16}

\item 
\hypertarget{map_8h_a17}{
unsigned {\bf RIM\_\-consume\-Map} (\hyperlink{structRIM__map__}{RIM\_\-map} $\ast$map, int fd)}
\label{map_8h_a17}

\end{CompactItemize}


\subsection{Detailed Description}
Configuration map creation, initialisation and manipulation functions. 

\begin{Desc}
\item[Author:]James Swain -- \href{mailto:jswain@slac.stanford.edu}{\tt jswain@slac.stanford.edu}\end{Desc}
