Initial commit for stepper controller
[radiotelescope.git] / stepper_controller / arduino / stepper / signals.h
1 //
2 // Product: Radiotelescope - Stepper Motor Controller
3 // Version: 0.1
4 // Date:    25 November 2010
5 //
6 //                      +-----------------------+
7 //                      |   d e c i s i o n s   |
8 //                      +-----------------------|
9 //                      | a n d   d e s i g n s |
10 //                      +-----------------------+
11 //
12 // Copyright (C) 2009 Decisions and Designs Pty Ltd. All rights reserved.
13 //
14 // This software may be distributed and modified under the terms of the GNU
15 // General Public License version 2 (GPL) as published by the Free Software
16 // Foundation and appearing in the file GPL.TXT included in the packaging of
17 // this file. Please note that GPL Section 2[b] requires that all works based
18 // on this software must also be made publicly available under the terms of
19 // the GPL ("Copyleft").
20 //
21 // Contact information:
22 // Decisions and Designs Web site: http://www.decisions-and-designs.com.au
23 // e-mail:                         [email protected]
24 //
25
26 #ifndef signals_h
27 #define signals_h
28
29 #include "stepper.h"
30 #include "serial_io.h"
31 #include "qpn_port.h"
32
33 enum StepperSignal {
34     REMINDER_SIG = Q_USER_SIG, 
35     COMMAND_FAIL_SIG,
36     COMMAND_AZIMUTH_SIG,
37     COMMAND_AZIMUTH_BASE_SIG,
38     COMMAND_AZIMUTH_SLEW_SIG,
39     COMMAND_AZIMUTH_ACCELERATION_SIG,
40     COMMAND_AZIMUTH_STEPS_SIG,
41     COMMAND_AZIMUTH_CLOCKWISE_SIG,
42     COMMAND_AZIMUTH_CCW_SIG,
43     COMMAND_ELEVATION_SIG,
44     COMMAND_ELEVATION_BASE_SIG,
45     COMMAND_ELEVATION_SLEW_SIG,
46     COMMAND_ELEVATION_ACCELERATION_SIG,
47     COMMAND_ELEVATION_STEPS_SIG,
48     COMMAND_ELEVATION_UP_SIG,
49     COMMAND_ELEVATION_DOWN_SIG,
50     COMMAND_START_AZIMUTH_SIG,
51     COMMAND_START_ELEVATION_SIG,
52     COMMAND_START_AZ_EL_SIG,
53     COMMAND_DUMP_ARGS_SIG,
54     #include "stepper_signals.h"
55     #include "serial_signals.h"
56     STEPPER_SIGNAL_LAST
57 };
58
59 #endif                                                         /* signals_h */

UCC git Repository :: git.ucc.asn.au