reprap: Delete mongoose
[simavr] / examples / board_reprap / src / reprap.h
1 /*
2         reprap.h
3
4         Copyright 2008-2012 Michel Pollet <buserror@gmail.com>
5
6         This file is part of simavr.
7
8         simavr is free software: you can redistribute it and/or modify
9         it under the terms of the GNU General Public License as published by
10         the Free Software Foundation, either version 3 of the License, or
11         (at your option) any later version.
12
13         simavr is distributed in the hope that it will be useful,
14         but WITHOUT ANY WARRANTY; without even the implied warranty of
15         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16         GNU General Public License for more details.
17
18         You should have received a copy of the GNU General Public License
19         along with simavr.  If not, see <http://www.gnu.org/licenses/>.
20  */
21
22
23 #ifndef __REPRAP_H___
24 #define __REPRAP_H___
25
26 #include "sim_avr.h"
27 #include "thermistor.h"
28 #include "heatpot.h"
29 #include "stepper.h"
30 #include "uart_pty.h"
31 #include "sim_vcd_file.h"
32
33 typedef struct reprap_t {
34         struct avr_t *  avr;
35         thermistor_t    therm_hotend;
36         thermistor_t    therm_hotbed;
37         thermistor_t    therm_spare;
38         heatpot_t               hotend;
39         heatpot_t               hotbed;
40
41         stepper_t               step_x, step_y, step_z, step_e;
42
43         uart_pty_t              uart_pty;
44         avr_vcd_t               vcd_file;
45 } reprap_t, *reprap_p;
46
47 #endif /* __REPRAP_H___ */