/*
 *  Copyright (c) 2003 by Matt Cross <matt@dragonflyhollow.org>
 *
 *  This file is part of the firemarshalbill package.
 *
 *  Firemarshalbill is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  Firemarshalbill is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Firemarshalbill; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

/*
 * API for configuring & using a TPU channel in PTA mode.
 */

#ifndef _ACCEL_H
#define _ACCEL_H


/**********************************************************************/
/* Constants:  */
/**********************************************************************/


/**********************************************************************/
/* Functions */
/**********************************************************************/

ulong pulse_isr(int chan);
ulong period_isr(int chan);


IEV_C_PROTO(TPU1_PULSE_ISR);
IEV_C_PROTO(TPU2_PULSE_ISR);


IEV_C_PROTO(TPU1_PERIOD_ISR);
IEV_C_PROTO(TPU2_PERIOD_ISR);





#endif /* _ACCEL_H */
