\section{include/dirpd.h File Reference}
\label{dirpd_8h}\index{include/dirpd.h@{include/dirpd.h}}
Interface: direct control of Dual IR Proximity Detector. 

\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf DIRPD\_\-LEFT\_\-S}\ 0xd000
\item 
\#define {\bf DIRPD\_\-LEFT\_\-E}\ 0xe000
\item 
\#define {\bf DIRPD\_\-RIGHT\_\-S}\ 0xb000
\item 
\#define {\bf DIRPD\_\-RIGHT\_\-E}\ 0xbfff
\item 
\#define {\bf DIRPD\_\-CENTER\_\-S}\ 0xf000
\item 
\#define {\bf DIRPD\_\-CENTER\_\-E}\ 0xffff
\item 
\#define {\bf DIRPD\_\-NONE\_\-S}\ 0x8000
\item 
\#define {\bf DIRPD\_\-NONE\_\-E}\ 0x8fff
\item 
\#define {\bf DIRPD\_\-LEFT}(araw)\ (araw $>$= DIRPD\_\-LEFT\_\-S \&\& araw $<$= DIRPD\_\-LEFT\_\-E)
\item 
\#define {\bf DIRPD\_\-RIGHT}(araw)\ (araw $>$= DIRPD\_\-RIGHT\_\-S \&\& araw $<$= DIRPD\_\-RIGHT\_\-E)
\item 
\#define {\bf DIRPD\_\-CENTER}(araw)\ (araw $>$= DIRPD\_\-CENTER\_\-S \&\& araw $<$= DIRPD\_\-CENTER\_\-E)
\item 
\#define {\bf DIRPD\_\-NONE}(araw)\ (araw $>$= DIRPD\_\-NONE\_\-S \&\& araw $<$= DIRPD\_\-NONE\_\-E)
\end{CompactItemize}


\subsection{Detailed Description}
Interface: direct control of Dual IR Proximity Detector. 

\begin{Desc}
\item[Author:]Mark Falco ({\tt falcom@onebox.com})\end{Desc}
This code applies to the Dual IR Proximity Detector that can be ordered from {\tt http://www.techno-stuff.com.} You may need to modify the ranges

Definition in file {\bf dirpd.h}.

\subsection{Define Documentation}
\index{dirpd.h@{dirpd.h}!DIRPD_CENTER@{DIRPD\_\-CENTER}}
\index{DIRPD_CENTER@{DIRPD\_\-CENTER}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-CENTER(araw)\ (araw $>$= DIRPD\_\-CENTER\_\-S \&\& araw $<$= DIRPD\_\-CENTER\_\-E)}\label{dirpd_8h_a10}




Definition at line 47 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_CENTER_E@{DIRPD\_\-CENTER\_\-E}}
\index{DIRPD_CENTER_E@{DIRPD\_\-CENTER\_\-E}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-CENTER\_\-E\ 0xffff}\label{dirpd_8h_a5}




Definition at line 36 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_CENTER_S@{DIRPD\_\-CENTER\_\-S}}
\index{DIRPD_CENTER_S@{DIRPD\_\-CENTER\_\-S}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-CENTER\_\-S\ 0xf000}\label{dirpd_8h_a4}




Definition at line 35 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_LEFT@{DIRPD\_\-LEFT}}
\index{DIRPD_LEFT@{DIRPD\_\-LEFT}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-LEFT(araw)\ (araw $>$= DIRPD\_\-LEFT\_\-S \&\& araw $<$= DIRPD\_\-LEFT\_\-E)}\label{dirpd_8h_a8}




Definition at line 45 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_LEFT_E@{DIRPD\_\-LEFT\_\-E}}
\index{DIRPD_LEFT_E@{DIRPD\_\-LEFT\_\-E}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-LEFT\_\-E\ 0xe000}\label{dirpd_8h_a1}




Definition at line 28 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_LEFT_S@{DIRPD\_\-LEFT\_\-S}}
\index{DIRPD_LEFT_S@{DIRPD\_\-LEFT\_\-S}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-LEFT\_\-S\ 0xd000}\label{dirpd_8h_a0}




Definition at line 27 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_NONE@{DIRPD\_\-NONE}}
\index{DIRPD_NONE@{DIRPD\_\-NONE}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-NONE(araw)\ (araw $>$= DIRPD\_\-NONE\_\-S \&\& araw $<$= DIRPD\_\-NONE\_\-E)}\label{dirpd_8h_a11}




Definition at line 48 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_NONE_E@{DIRPD\_\-NONE\_\-E}}
\index{DIRPD_NONE_E@{DIRPD\_\-NONE\_\-E}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-NONE\_\-E\ 0x8fff}\label{dirpd_8h_a7}




Definition at line 40 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_NONE_S@{DIRPD\_\-NONE\_\-S}}
\index{DIRPD_NONE_S@{DIRPD\_\-NONE\_\-S}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-NONE\_\-S\ 0x8000}\label{dirpd_8h_a6}




Definition at line 39 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_RIGHT@{DIRPD\_\-RIGHT}}
\index{DIRPD_RIGHT@{DIRPD\_\-RIGHT}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-RIGHT(araw)\ (araw $>$= DIRPD\_\-RIGHT\_\-S \&\& araw $<$= DIRPD\_\-RIGHT\_\-E)}\label{dirpd_8h_a9}




Definition at line 46 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_RIGHT_E@{DIRPD\_\-RIGHT\_\-E}}
\index{DIRPD_RIGHT_E@{DIRPD\_\-RIGHT\_\-E}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-RIGHT\_\-E\ 0xbfff}\label{dirpd_8h_a3}




Definition at line 32 of file dirpd.h.\index{dirpd.h@{dirpd.h}!DIRPD_RIGHT_S@{DIRPD\_\-RIGHT\_\-S}}
\index{DIRPD_RIGHT_S@{DIRPD\_\-RIGHT\_\-S}!dirpd.h@{dirpd.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIRPD\_\-RIGHT\_\-S\ 0xb000}\label{dirpd_8h_a2}




Definition at line 31 of file dirpd.h.