1

Dependencies:   mcp2515 mbed-dev-f303

Revision:
0:d80c66cb1b3a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DATA_PC/data_pc.h	Tue Nov 10 09:09:58 2020 +0000
@@ -0,0 +1,20 @@
+#ifndef _DATA_PC_H
+#define _DATA_PC_H
+
+#include "mbed.h"
+
+extern Serial pc;              // tx, rx U2 min
+
+extern int pc_control;                                                              // 命令帧标志位
+//extern unsigned int flag_A, flag_B;
+//extern unsigned int pc_num;
+
+//extern uint16_t phase_flag_get[1];
+extern uint16_t phase_flag_use[1];
+extern unsigned int phase_flag;
+
+void pc_decode();
+void pc_clear();
+void serial_pc_isr();
+
+#endif
\ No newline at end of file