From 11dcf9a380ac98b8cb9f25c61494b9ffba5780c6 Mon Sep 17 00:00:00 2001 From: Guillaume Chevillot Date: Thu, 6 Mar 2008 09:32:45 +0100 Subject: Add support of right side --- analog/motor-power-avr/src/mp_pwm_R_.h | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 analog/motor-power-avr/src/mp_pwm_R_.h (limited to 'analog/motor-power-avr/src/mp_pwm_R_.h') diff --git a/analog/motor-power-avr/src/mp_pwm_R_.h b/analog/motor-power-avr/src/mp_pwm_R_.h new file mode 100644 index 00000000..6819e4ab --- /dev/null +++ b/analog/motor-power-avr/src/mp_pwm_R_.h @@ -0,0 +1,37 @@ +#ifndef mp_pwm_R__h +#define mp_pwm_R__h +/* mp_pwm_R_.h */ +/* {{{ + * + * Copyright (C) 2008 Pierre Prot + * + * APBTeam: + * Web: http://apbteam.org/ + * Email: team AT apbteam DOT org + * + * This program 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. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * }}} */ + + +void init_pwm_R_ (void); +void rise_R_ (void); +void fall_R_ (void); +void ovc_R_ (void); +void start_motor_R_ (uint8_t pwmspeed, uint8_t direction); +void stop_motor_R_ (void); + + +#endif /* mp_pwm_R__h */ -- cgit v1.2.3