aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/tacle-bench-lift/liftlibio.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/tacle-bench-lift/liftlibio.h')
-rw-r--r--test/monniaux/tacle-bench-lift/liftlibio.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/monniaux/tacle-bench-lift/liftlibio.h b/test/monniaux/tacle-bench-lift/liftlibio.h
new file mode 100644
index 00000000..1a67cfb5
--- /dev/null
+++ b/test/monniaux/tacle-bench-lift/liftlibio.h
@@ -0,0 +1,27 @@
+#ifndef LIFTLIBIO_H
+#define LIFTLIBIO_H
+
+/* Global variables */
+extern int lift_ctrl_io_in[10];
+extern int lift_ctrl_io_out[4];
+extern int lift_ctrl_io_analog[4];
+extern int lift_ctrl_io_led[16];
+extern int lift_ctrl_dly1, lift_ctrl_dly2;
+
+/* Simulated hardware */
+extern volatile int lift_simio_in;
+extern volatile int lift_simio_out;
+extern volatile int lift_simio_led;
+extern volatile int lift_simio_adc1;
+extern volatile int lift_simio_adc2;
+extern volatile int lift_simio_adc3;
+
+/* Checksum */
+extern int lift_checksum;
+
+/* prototypes */
+void lift_io_init( void );
+void lift_ctrl_get_vals( void );
+void lift_ctrl_set_vals( void );
+
+#endif