1

Dependencies:   mcp2515 mbed-dev-f303

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers data_pc.h Source File

data_pc.h

00001 #ifndef _DATA_PC_H
00002 #define _DATA_PC_H
00003 
00004 #include "mbed.h"
00005 
00006 extern Serial pc;              // tx, rx U2 min
00007 
00008 extern int pc_control;                                                              // 命令帧标志位
00009 //extern unsigned int flag_A, flag_B;
00010 //extern unsigned int pc_num;
00011 
00012 //extern uint16_t phase_flag_get[1];
00013 extern uint16_t phase_flag_use[1];
00014 extern unsigned int phase_flag;
00015 
00016 void pc_decode();
00017 void pc_clear();
00018 void serial_pc_isr();
00019 
00020 #endif