00001 /* 00002 * $Id: qompulse.h,v 1.1 2003/10/30 02:17:06 dasmith Exp $ 00003 * 00004 * qompulse.h - Sets up a TPU channel to output a one-shot 00005 * pulse using the TPU function QOM. 00006 * 00007 * Copyright (C) 2003 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_QOMPULSE_H 00033 #define __TPU_QOMPULSE_H 00034 00035 #include <68332/types.h> 00036 #include <68332/tpu.h> 00037 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00055 void qompulse ( 00056 TPUChannel* handle, 00057 bool pulseLevel, 00058 uint16 pulseLength 00059 ); 00060 00061 #ifdef __cplusplus 00062 } 00063 #endif 00064 00065 #endif // #ifndef __TPU_QOMPULSE_H