Shao Rui / CH_Communicatuin_Test

Dependencies:   mbed-dev_spine

Revision:
5:6a95726e45b0
Child:
6:aad89fd109c2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DATA_COMMAND/data_command.h	Tue Oct 08 04:35:23 2019 +0000
@@ -0,0 +1,66 @@
+#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 DigitalOut  sf_m_c;
+
+
+extern int enabled;
+extern int counter;
+extern int c_control; 
+extern float SP_pf, SP_df;
+extern int c_lock; 
+
+
+extern unsigned int flag_A, flag_B;
+extern unsigned int Snum;
+extern uint16_t Sget[10];                                                    
+extern uint16_t Suse[10];
+
+
+void serial_command_isr();
+void command_control();
+
+
+
+
+
+
+
+#endif
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+