\hypertarget{parity_8c}{
\section{parity.c File Reference}
\label{parity_8c}\index{parity.c@{parity.c}}
}
Selectively invert some of the parity bits of a command item.  


{\tt \#include \char`\"{}LEM/parity.h\char`\"{}}\par
{\tt \#include \char`\"{}LEM/parity\_\-macros.h\char`\"{}}\par


Include dependency graph for parity.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=185pt]{parity_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void \hyperlink{parity_8c_a0}{TEM\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a1}{TIC\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a2}{CCC\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a3}{CRC\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a4}{CFE\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a5}{TCC\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a6}{TRC\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a7}{TFE\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a8}{AEM\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a9}{AEM\_\-ENV\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a10}{ARC\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a11}{AFE\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a12}{PDU\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a13}{PDU\_\-ENV\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a14}{CRU\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a15}{EBM\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a16}{EBM\_\-STAT\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\item 
void \hyperlink{parity_8c_a17}{GEM\_\-parity} (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$cmd, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} types)
\begin{CompactList}\small\item\em Invert zero or more parity bits in the command item. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Selectively invert some of the parity bits of a command item. 

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

\subsection{Function Documentation}
\hypertarget{parity_8c_a9}{
\index{parity.c@{parity.c}!AEM_ENV_parity@{AEM\_\-ENV\_\-parity}}
\index{AEM_ENV_parity@{AEM\_\-ENV\_\-parity}!parity.c@{parity.c}}
\subsubsection[AEM\_\-ENV\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void AEM\_\-ENV\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a9}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a8}{
\index{parity.c@{parity.c}!AEM_parity@{AEM\_\-parity}}
\index{AEM_parity@{AEM\_\-parity}!parity.c@{parity.c}}
\subsubsection[AEM\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void AEM\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a8}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a11}{
\index{parity.c@{parity.c}!AFE_parity@{AFE\_\-parity}}
\index{AFE_parity@{AFE\_\-parity}!parity.c@{parity.c}}
\subsubsection[AFE\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void AFE\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a11}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a10}{
\index{parity.c@{parity.c}!ARC_parity@{ARC\_\-parity}}
\index{ARC_parity@{ARC\_\-parity}!parity.c@{parity.c}}
\subsubsection[ARC\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void ARC\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a10}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a2}{
\index{parity.c@{parity.c}!CCC_parity@{CCC\_\-parity}}
\index{CCC_parity@{CCC\_\-parity}!parity.c@{parity.c}}
\subsubsection[CCC\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void CCC\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a2}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a4}{
\index{parity.c@{parity.c}!CFE_parity@{CFE\_\-parity}}
\index{CFE_parity@{CFE\_\-parity}!parity.c@{parity.c}}
\subsubsection[CFE\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void CFE\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a4}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a3}{
\index{parity.c@{parity.c}!CRC_parity@{CRC\_\-parity}}
\index{CRC_parity@{CRC\_\-parity}!parity.c@{parity.c}}
\subsubsection[CRC\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void CRC\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a3}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a14}{
\index{parity.c@{parity.c}!CRU_parity@{CRU\_\-parity}}
\index{CRU_parity@{CRU\_\-parity}!parity.c@{parity.c}}
\subsubsection[CRU\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void CRU\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a14}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a15}{
\index{parity.c@{parity.c}!EBM_parity@{EBM\_\-parity}}
\index{EBM_parity@{EBM\_\-parity}!parity.c@{parity.c}}
\subsubsection[EBM\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void EBM\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a15}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a16}{
\index{parity.c@{parity.c}!EBM_STAT_parity@{EBM\_\-STAT\_\-parity}}
\index{EBM_STAT_parity@{EBM\_\-STAT\_\-parity}!parity.c@{parity.c}}
\subsubsection[EBM\_\-STAT\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void EBM\_\-STAT\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a16}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a17}{
\index{parity.c@{parity.c}!GEM_parity@{GEM\_\-parity}}
\index{GEM_parity@{GEM\_\-parity}!parity.c@{parity.c}}
\subsubsection[GEM\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void GEM\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a17}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a13}{
\index{parity.c@{parity.c}!PDU_ENV_parity@{PDU\_\-ENV\_\-parity}}
\index{PDU_ENV_parity@{PDU\_\-ENV\_\-parity}!parity.c@{parity.c}}
\subsubsection[PDU\_\-ENV\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void PDU\_\-ENV\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a13}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a12}{
\index{parity.c@{parity.c}!PDU_parity@{PDU\_\-parity}}
\index{PDU_parity@{PDU\_\-parity}!parity.c@{parity.c}}
\subsubsection[PDU\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void PDU\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a12}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a5}{
\index{parity.c@{parity.c}!TCC_parity@{TCC\_\-parity}}
\index{TCC_parity@{TCC\_\-parity}!parity.c@{parity.c}}
\subsubsection[TCC\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void TCC\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a5}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a0}{
\index{parity.c@{parity.c}!TEM_parity@{TEM\_\-parity}}
\index{TEM_parity@{TEM\_\-parity}!parity.c@{parity.c}}
\subsubsection[TEM\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void TEM\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a0}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a7}{
\index{parity.c@{parity.c}!TFE_parity@{TFE\_\-parity}}
\index{TFE_parity@{TFE\_\-parity}!parity.c@{parity.c}}
\subsubsection[TFE\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void TFE\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a7}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a1}{
\index{parity.c@{parity.c}!TIC_parity@{TIC\_\-parity}}
\index{TIC_parity@{TIC\_\-parity}!parity.c@{parity.c}}
\subsubsection[TIC\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void TIC\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a1}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
\hypertarget{parity_8c_a6}{
\index{parity.c@{parity.c}!TRC_parity@{TRC\_\-parity}}
\index{TRC_parity@{TRC\_\-parity}!parity.c@{parity.c}}
\subsubsection[TRC\_\-parity]{\setlength{\rightskip}{0pt plus 5cm}void TRC\_\-parity (\hyperlink{structLEM__ci}{LEM\_\-ci} $\ast$ {\em cmd}, \hyperlink{defs_8h_a431}{LEM\_\-PARITY\_\-TYPES} {\em types})}}
\label{parity_8c_a6}


Invert zero or more parity bits in the command item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmd}]Pointer to a command item to fill \item[{\em types}]OR of one of more LEM\_\-PARITY\_\-TYPES specifying the parity bits to invert \end{description}
\end{Desc}
