508 |
kaklik |
1 |
/*
|
|
|
2 |
* Copyright (C) 2004 Darren Hutchinson (dbh@gbdt.com.au)
|
|
|
3 |
*
|
|
|
4 |
* This program is free software; you can redistribute it and/or modify
|
|
|
5 |
* it under the terms of the GNU Library General Public License as published by
|
|
|
6 |
* the Free Software Foundation; either version 2 of the License, or (at your
|
|
|
7 |
* option) any later version.
|
|
|
8 |
*
|
|
|
9 |
* This program is distributed in the hope that it will be useful, but
|
|
|
10 |
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
11 |
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
|
|
|
12 |
* License for more details.
|
|
|
13 |
*
|
|
|
14 |
* You should have received a copy of the GNU Library General Public License
|
|
|
15 |
* along with this software; see the file COPYING. If not, write to
|
|
|
16 |
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
|
|
17 |
* MA 02111-1307, USA.
|
|
|
18 |
*
|
|
|
19 |
* $Id: eq6.h,v 1.3 2004/04/04 10:32:50 dbh Exp $
|
|
|
20 |
*/
|
|
|
21 |
|
|
|
22 |
#ifndef _EQ6_H_
|
|
|
23 |
#define _EQ6_H_
|
|
|
24 |
|
|
|
25 |
#include <inttypes.h>
|
|
|
26 |
|
|
|
27 |
/* Define the default clock rate used by the software
|
|
|
28 |
* replacement firmware
|
|
|
29 |
*/
|
|
|
30 |
#define DEF_CLK_RATE (8L * 1000L * 1000L) // 8 MHz
|
|
|
31 |
|
|
|
32 |
#ifndef CLK_RATE
|
|
|
33 |
#define CLK_RATE DEF_CLK_RATE
|
|
|
34 |
#endif /* CLK_RATE */
|
|
|
35 |
|
|
|
36 |
/* Set the default transmission (gearbox) ratio used by the software. The
|
|
|
37 |
* value set via the serial port will override this.
|
|
|
38 |
*
|
|
|
39 |
* Note: this does not include the worm/worm gear ratio
|
|
|
40 |
*/
|
|
|
41 |
#define DEF_TRANS_RATIO 132
|
|
|
42 |
|
|
|
43 |
#endif /* _EQ6_H_ */
|