pan zhan / panzhan_main_controller_continuous

Dependencies:   mbed-dev_spine

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 #include "data_command.h"
00006 
00007 extern Serial pc;              // tx, rx U2 min
00008 
00009 extern int pc_control;                                                              // 命令帧标志位
00010 //extern unsigned int flag_A, flag_B;
00011 //extern unsigned int pc_num;
00012 
00013 //extern uint16_t mode_flag_get[1];
00014 //extern uint16_t mode_flag_use[1];
00015 extern unsigned int mode_flag;
00016 
00017 void pc_decode();
00018 void pc_clear();
00019 void serial_pc_isr();
00020 
00021 #endif