00

Dependencies:   mcp2515 mbed-dev-f303

Revision:
0:d80c66cb1b3a
diff -r 000000000000 -r d80c66cb1b3a DATA_COMMAND/data_command.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DATA_COMMAND/data_command.h	Tue Nov 10 09:09:58 2020 +0000
@@ -0,0 +1,67 @@
+#ifndef _DATA_COMMAND_H
+#define _DATA_COMMAND_H
+
+
+#include "mbed.h"
+#include "CAN.h"
+#include "used_leg_message.h"
+#include "mode.h"
+#include "control.h"
+
+
+extern Serial      command;
+
+
+
+extern int enabled;
+extern int counter;
+extern int command_control_flag; 
+extern float SP_pf, SP_df;
+extern int c_lock; 
+extern int return_zero; 
+
+
+extern unsigned int flag_c_A, flag_c_B;
+extern unsigned int Snum_c;
+extern uint16_t Sget[10];                                                    
+extern uint16_t Suse[10];
+
+
+void serial_command_isr();
+void command_control();
+
+
+
+
+
+
+
+#endif
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+