From b1f14380727106642388a6d32baa3a4103a03a9b Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 3 Oct 2011 21:03:58 +0200 Subject: digital/avr/modules/motor: add new output module --- .../modules/motor/output/pwm_mp/output_pwm_mp.h | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 digital/avr/modules/motor/output/pwm_mp/output_pwm_mp.h (limited to 'digital/avr/modules/motor/output/pwm_mp/output_pwm_mp.h') diff --git a/digital/avr/modules/motor/output/pwm_mp/output_pwm_mp.h b/digital/avr/modules/motor/output/pwm_mp/output_pwm_mp.h new file mode 100644 index 00000000..9aa0f6ad --- /dev/null +++ b/digital/avr/modules/motor/output/pwm_mp/output_pwm_mp.h @@ -0,0 +1,37 @@ +#ifndef output_pwm_mp_h +#define output_pwm_mp_h +/* output_pwm_mp.h */ +/* motor - Motor control module. {{{ + * + * Copyright (C) 2011 Nicolas Schodet + * + * 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. + * + * }}} */ +#include "modules/motor/output/output.h" + +/** See output_init. */ +void +output_pwm_mp_init (uint8_t index, output_t *output); + +/** See output_update. */ +void +output_pwm_mp_update (void); + +#endif /* output_pwm_mp_h */ -- cgit v1.2.3