\hypertarget{latp_8h}{
\section{latp.h File Reference}
\label{latp_8h}\index{latp.h@{latp.h}}
}
Structures and functions used to generate a list of register addresses and value/destinations to load/read. 

{\tt \#include \char`\"{}RIM/rim.h\char`\"{}}\par


Include dependency graph for latp.h:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=251pt]{latp_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=85pt]{latp_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct \hyperlink{structRIM__errorInfo}{RIM\_\-error\-Info}
\begin{CompactList}\small\item\em Information used to record a read error occured. \item\end{CompactList}\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
\hypertarget{latp_8h_a0}{
typedef void( \hyperlink{latp_8h_a0}{RIM\_\-decode\-Fn} )(unsigned short $\ast$\hyperlink{t__record_8c_a6}{pkt}, void $\ast$ptr)}
\label{latp_8h_a0}

\begin{CompactList}\small\item\em Function that Decodes the response from one type of LAT register. \item\end{CompactList}\item 
\hypertarget{latp_8h_a1}{
typedef unsigned( \hyperlink{latp_8h_a1}{RIM\_\-load\-Fn} )(void $\ast$param, const \hyperlink{unionRIM__addr}{RIM\_\-addr} $\ast$addr, unsigned reg\-Id, const void $\ast$value)}
\label{latp_8h_a1}

\begin{CompactList}\small\item\em Function that Loads one type of LAT register. \item\end{CompactList}\item 
\hypertarget{latp_8h_a2}{
typedef unsigned( \hyperlink{latp_8h_a2}{RIM\_\-read\-Fn} )(void $\ast$param, const \hyperlink{unionRIM__addr}{RIM\_\-addr} $\ast$addr, unsigned reg\-Id, \hyperlink{latp_8h_a0}{RIM\_\-decode\-Fn} $\ast$decode\-Fn, void $\ast$dst, const \hyperlink{structRIM__errorInfo}{RIM\_\-error\-Info} $\ast$info)}
\label{latp_8h_a2}

\begin{CompactList}\small\item\em Function that Reads one type of LAT register. \item\end{CompactList}\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hypertarget{latp_8h_a3}{
unsigned {\bf RIM\_\-read} (\hyperlink{rim_8h_a0}{RIM} $\ast$\hyperlink{t__record_8c_a4}{rim}, void $\ast$param, \hyperlink{latp_8h_a2}{RIM\_\-read\-Fn} $\ast$$\ast$read\-Fn, \hyperlink{latp_8h_a0}{RIM\_\-decode\-Fn} $\ast$$\ast$decode\-Fn, const \hyperlink{structRIM__map__}{RIM\_\-map} $\ast$ign)}
\label{latp_8h_a3}

\item 
\hypertarget{latp_8h_a4}{
unsigned {\bf RIM\_\-load} (\hyperlink{rim_8h_a0}{RIM} $\ast$\hyperlink{t__record_8c_a4}{rim}, void $\ast$param, \hyperlink{latp_8h_a1}{RIM\_\-load\-Fn} $\ast$$\ast$load\-Fn)}
\label{latp_8h_a4}

\item 
\hypertarget{latp_8h_a5}{
unsigned {\bf RIM\_\-load\-CFE} (\hyperlink{rim_8h_a0}{RIM} $\ast$\hyperlink{t__record_8c_a4}{rim}, unsigned val, unsigned mask, unsigned shift, unsigned reg\-Id, void $\ast$param, \hyperlink{latp_8h_a1}{RIM\_\-load\-Fn} $\ast$$\ast$load\-Fn)}
\label{latp_8h_a5}

\item 
\hypertarget{latp_8h_a6}{
unsigned {\bf RIM\_\-load\-CFEmask} (\hyperlink{rim_8h_a0}{RIM} $\ast$\hyperlink{t__record_8c_a4}{rim}, unsigned mask, void $\ast$param, \hyperlink{latp_8h_a1}{RIM\_\-load\-Fn} $\ast$$\ast$load\-Fn)}
\label{latp_8h_a6}

\item 
\hypertarget{latp_8h_a7}{
void {\bf RIM\_\-set\-SPT} (void $\ast$ptr, unsigned short value, unsigned is\-High)}
\label{latp_8h_a7}

\item 
\hypertarget{latp_8h_a8}{
unsigned {\bf RIM\_\-load\-TDC} (\hyperlink{rim_8h_a0}{RIM} $\ast$\hyperlink{t__record_8c_a4}{rim}, unsigned val, unsigned mask, unsigned shift, unsigned reg\-Id, void $\ast$param, \hyperlink{latp_8h_a1}{RIM\_\-load\-Fn} $\ast$$\ast$load\-Fn)}
\label{latp_8h_a8}

\item 
\hypertarget{latp_8h_a9}{
unsigned {\bf RIM\_\-enable\-All\-AFE} (\hyperlink{rim_8h_a0}{RIM} $\ast$\hyperlink{t__record_8c_a4}{rim}, void $\ast$param, \hyperlink{latp_8h_a1}{RIM\_\-load\-Fn} $\ast$$\ast$load\-Fn)}
\label{latp_8h_a9}

\item 
\hypertarget{latp_8h_a10}{
unsigned {\bf RIM\_\-disable\-All\-AFE} (\hyperlink{rim_8h_a0}{RIM} $\ast$\hyperlink{t__record_8c_a4}{rim}, void $\ast$param, \hyperlink{latp_8h_a1}{RIM\_\-load\-Fn} $\ast$$\ast$load\-Fn)}
\label{latp_8h_a10}

\item 
\hypertarget{latp_8h_a11}{
unsigned {\bf RIM\_\-enable\-AFE} (\hyperlink{rim_8h_a0}{RIM} $\ast$\hyperlink{t__record_8c_a4}{rim}, unsigned rc, unsigned fe, void $\ast$param, \hyperlink{latp_8h_a1}{RIM\_\-load\-Fn} $\ast$$\ast$load\-Fn)}
\label{latp_8h_a11}

\end{CompactItemize}


\subsection{Detailed Description}
Structures and functions used to generate a list of register addresses and value/destinations to load/read. 

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