\hypertarget{ev_8h}{
\section{ev.h File Reference}
\label{ev_8h}\index{ev.h@{ev.h}}
}
Defines public structs for decoding TEM event data.  




This graph shows which files directly or indirectly include this file:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=88pt]{ev_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\hypertarget{ev_8h_a0}{
\#define \hyperlink{ev_8h_a0}{\_\-\_\-pack\_\-\_\-}\ \_\-\_\-attribute\_\-\_\- ((\_\-\_\-packed\_\-\_\-))}
\label{ev_8h_a0}

\begin{CompactList}\small\item\em used to pack bitfield struct members \item\end{CompactList}\item 
\#define \hyperlink{ev_8h_a1}{BYTE\_\-SWAP\_\-32}(x)
\begin{CompactList}\small\item\em Byte swapping macro for 32-bit integers. \item\end{CompactList}\item 
\#define \hyperlink{ev_8h_a2}{BYTE\_\-SWAP\_\-16}(x)
\begin{CompactList}\small\item\em Byte swapping macro for 16-bit integers. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Defines public structs for decoding TEM event data. 

\begin{Desc}
\item[Author:]Curt Brune -- \href{mailto:curt@slac.stanford.edu}{\tt curt@slac.stanford.edu}\end{Desc}


\subsection{Define Documentation}
\hypertarget{ev_8h_a2}{
\index{ev.h@{ev.h}!BYTE_SWAP_16@{BYTE\_\-SWAP\_\-16}}
\index{BYTE_SWAP_16@{BYTE\_\-SWAP\_\-16}!ev.h@{ev.h}}
\subsubsection[BYTE\_\-SWAP\_\-16]{\setlength{\rightskip}{0pt plus 5cm}\#define BYTE\_\-SWAP\_\-16(x)}}
\label{ev_8h_a2}


{\bf Value:}

\footnotesize\begin{verbatim}( (((x) >> 8) & 0x00FF) |                       \
  (((x) << 8) & 0xFF00)                         \
  )
\end{verbatim}\normalsize 
Byte swapping macro for 16-bit integers. 

\hypertarget{ev_8h_a1}{
\index{ev.h@{ev.h}!BYTE_SWAP_32@{BYTE\_\-SWAP\_\-32}}
\index{BYTE_SWAP_32@{BYTE\_\-SWAP\_\-32}!ev.h@{ev.h}}
\subsubsection[BYTE\_\-SWAP\_\-32]{\setlength{\rightskip}{0pt plus 5cm}\#define BYTE\_\-SWAP\_\-32(x)}}
\label{ev_8h_a1}


{\bf Value:}

\footnotesize\begin{verbatim}( (((x) >> 24) & 0x000000FF) |                 \
  (((x) >>  8) & 0x0000FF00) |                 \
  (((x) <<  8) & 0x00FF0000) |                 \
  (((x) << 24) & 0xFF000000)                   \
  )
\end{verbatim}\normalsize 
Byte swapping macro for 32-bit integers. 

