Main Page | Modules | Data Structures | File List | Data Fields | Globals

qompwm.h

Go to the documentation of this file.
00001 /*
00002  * $Id: qompwm.h,v 1.5 2002/12/02 03:58:00 dwalters Exp $
00003  *
00004  * qompwm.h - Sets up a TPU channel to provide a
00005  *            PWM signal using the TPU function QOM.
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_QOMPWM_H
00033 #define __TPU_QOMPWM_H
00034 
00035 #include <68332/types.h>
00036 #include <68332/tpu.h>
00037 
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 
00055 void qompwm (
00056         TPUChannel* handle, 
00057         uint16 hi_time, 
00058         uint16 lo_time
00059 );
00060 
00061 #ifdef __cplusplus
00062 }
00063 #endif
00064 
00065 #endif  // #ifndef __TPU_QOMPWM_H

Generated on Wed Sep 6 03:02:22 2006 for MotoRobots by doxygen 1.3.6