From abc3cd72f7efe4d2e81941a9f047474524ea5800 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Mon, 8 Apr 2019 11:15:56 +0200 Subject: from Tacle Bench --- test/monniaux/tacle-bench-lift/liftlibio.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 test/monniaux/tacle-bench-lift/liftlibio.h (limited to 'test/monniaux/tacle-bench-lift/liftlibio.h') 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 -- cgit