00001 /* 00002 * $Id: fqd.h,v 1.5 2002/12/02 03:58:00 dwalters Exp $ 00003 * 00004 * fqd.h - Sets up two TPU channels to decode a pair of 00005 * quadrature encoded signals using the TPU function FQD. 00006 * 00007 * Copyright (C) 2001 David A. Smith 00008 * 00009 * This library is distributed under the terms of the GNU Lesser General 00010 * Public License (LGPL). You should have received a copy of the 00011 * license along with this library (LGPL.txt); if not, write to 00012 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, 00013 * Boston, MA 02111-1307 USA 00014 */ 00015 00032 #ifndef __TPU_FQD_H 00033 #define __TPU_FQD_H 00034 00035 #include <68332/types.h> 00036 #include <68332/tpu.h> 00037 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00058 int16 fqd ( 00059 TPUChannel* primaryChannel, 00060 TPUChannel* secondaryChannel 00061 ); 00062 00063 #ifdef __cplusplus 00064 } 00065 #endif 00066 00067 #endif // #ifndef __TPU_FQD_H