\hypertarget{limp_8c}{
\section{limp.c File Reference}
\label{limp_8c}\index{limp.c@{limp.c}}
}
LAT Instrument Manager Placeholder.  


{\tt \#include \char`\"{}LIMP/limp.h\char`\"{}}\par
{\tt \#include \char`\"{}LIMP/LIMP\_\-cmdxtrn.h\char`\"{}}\par
{\tt \#include \char`\"{}LIMP/LIMP\_\-internal.h\char`\"{}}\par
{\tt \#include \char`\"{}limp\_\-p.h\char`\"{}}\par
{\tt \#include \char`\"{}ITC/ITC\_\-pubdefs.h\char`\"{}}\par
{\tt \#include \char`\"{}MSG/MSG\_\-pubdefs.h\char`\"{}}\par


Include dependency graph for limp.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=297pt]{limp_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{limp_8c_a3}{LIMP\_\-init} (void)
\begin{CompactList}\small\item\em Initialise the LIMP task. \item\end{CompactList}\item 
unsigned \hyperlink{limp_8c_a4}{LIMP\_\-start} (void)
\begin{CompactList}\small\item\em Start the LIMP task. \item\end{CompactList}\item 
\hyperlink{limp__p_8h_a14}{LIMP\_\-state} \hyperlink{limp_8c_a5}{get\-State} (void)
\begin{CompactList}\small\item\em Get the current state of the LAT. \item\end{CompactList}\item 
void \hyperlink{limp_8c_a6}{set\-State} (\hyperlink{limp__p_8h_a14}{LIMP\_\-state} state)
\begin{CompactList}\small\item\em Change the state of the LAT. \item\end{CompactList}\item 
unsigned \hyperlink{limp_8c_a7}{get\-Parameter} (void)
\begin{CompactList}\small\item\em Returns the current value of the state parameter (only valid in active and wait states). \item\end{CompactList}\item 
void \hyperlink{limp_8c_a8}{set\-Parameter} (unsigned parameter)
\begin{CompactList}\small\item\em Set the state parameter. \item\end{CompactList}\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
\hypertarget{limp_8c_a0}{
ITC\_\-Task $\ast$ \hyperlink{limp_8c_a0}{limp\_\-task} = NULL}
\label{limp_8c_a0}

\begin{CompactList}\small\item\em Pointer to the LIMP task. \item\end{CompactList}\item 
\hypertarget{limp_8c_a1}{
\hyperlink{limp__p_8h_a14}{LIMP\_\-state} \hyperlink{limp_8c_a1}{limp\_\-state} = UNINITIALISED}
\label{limp_8c_a1}

\begin{CompactList}\small\item\em Current state of the LAT. \item\end{CompactList}\item 
\hypertarget{limp_8c_a2}{
unsigned \hyperlink{limp_8c_a2}{limp\_\-parameter} = 0}
\label{limp_8c_a2}

\begin{CompactList}\small\item\em Some states have an associated parameter (such as the EPU\_\-ID in the wait state or the APID in the active state), this is it. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
LAT Instrument Manager Placeholder. 

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


\subsection{Function Documentation}
\hypertarget{limp_8c_a7}{
\index{limp.c@{limp.c}!getParameter@{getParameter}}
\index{getParameter@{getParameter}!limp.c@{limp.c}}
\subsubsection[getParameter]{\setlength{\rightskip}{0pt plus 5cm}unsigned get\-Parameter (void)}}
\label{limp_8c_a7}


Returns the current value of the state parameter (only valid in active and wait states). 

\begin{Desc}
\item[Returns:]The current value of the parameter associated with the state \end{Desc}
\hypertarget{limp_8c_a5}{
\index{limp.c@{limp.c}!getState@{getState}}
\index{getState@{getState}!limp.c@{limp.c}}
\subsubsection[getState]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{limp__p_8h_a14}{LIMP\_\-state} get\-State (void)}}
\label{limp_8c_a5}


Get the current state of the LAT. 

\begin{Desc}
\item[Returns:]Current state \end{Desc}
\hypertarget{limp_8c_a3}{
\index{limp.c@{limp.c}!LIMP_init@{LIMP\_\-init}}
\index{LIMP_init@{LIMP\_\-init}!limp.c@{limp.c}}
\subsubsection[LIMP\_\-init]{\setlength{\rightskip}{0pt plus 5cm}unsigned LIMP\_\-init (void)}}
\label{limp_8c_a3}


Initialise the LIMP task. 

\begin{Desc}
\item[Returns:]One of ITC\_\-msgs \end{Desc}


Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=98pt]{limp_8c_a3_cgraph}
\end{center}
\end{figure}
\hypertarget{limp_8c_a4}{
\index{limp.c@{limp.c}!LIMP_start@{LIMP\_\-start}}
\index{LIMP_start@{LIMP\_\-start}!limp.c@{limp.c}}
\subsubsection[LIMP\_\-start]{\setlength{\rightskip}{0pt plus 5cm}unsigned LIMP\_\-start (void)}}
\label{limp_8c_a4}


Start the LIMP task. 

\begin{Desc}
\item[Returns:]One of ITC\_\-msgs \end{Desc}


Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=150pt]{limp_8c_a4_cgraph}
\end{center}
\end{figure}
\hypertarget{limp_8c_a8}{
\index{limp.c@{limp.c}!setParameter@{setParameter}}
\index{setParameter@{setParameter}!limp.c@{limp.c}}
\subsubsection[setParameter]{\setlength{\rightskip}{0pt plus 5cm}void set\-Parameter (unsigned {\em parameter})}}
\label{limp_8c_a8}


Set the state parameter. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parameter}]Value to use for the state parameter \end{description}
\end{Desc}
\hypertarget{limp_8c_a6}{
\index{limp.c@{limp.c}!setState@{setState}}
\index{setState@{setState}!limp.c@{limp.c}}
\subsubsection[setState]{\setlength{\rightskip}{0pt plus 5cm}void set\-State (\hyperlink{limp__p_8h_a14}{LIMP\_\-state} {\em state})}}
\label{limp_8c_a6}


Change the state of the LAT. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em state}]New state \end{description}
\end{Desc}
