yezhong yezhong / yezhong_main_controller_copy1

Dependencies:   mbed-dev-f303

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers data_board.h Source File

data_board.h

00001 #ifndef _DATA_BOARD_H
00002 #define _DATA_BOARD_H
00003 
00004 
00005 #include "mbed.h"
00006 #include "math_ops.h"
00007 
00008 
00009 extern Serial      foot;
00010 
00011 
00012 
00013 //extern unsigned int flag_485_A, flag_485_B;
00014 //extern unsigned int S485num;
00015 //extern uint16_t S485get[10];                                                    
00016 extern uint16_t S485use[10];
00017 
00018 ////////////////////////////////////////////////////////////////////////////////
00019 
00020 extern unsigned int Gait_num_valid, Gait_now, Gait_per_now, Gait_cycle_now;
00021 extern float COP_Y, COP_X;
00022 extern uint16_t Gait_per_now_int, COP_Y_int, COP_X_int, Gait_cycle_now_int;
00023 
00024 extern unsigned int Gait_num_valid_0before, Gait_now_0before;
00025 extern float Gait_per_now_0before, COP_Y_0before, COP_X_0before, Gait_cycle_now_0before;
00026 
00027 extern unsigned int Gait_num_valid_real, Gait_now_real, Gait_per_now_real, Gait_cycle_now_real, time_portion_now_real;
00028 extern float COP_Y_real, COP_X_real;
00029 
00030 
00031 //void gait_decode();
00032 //void gait_clear();
00033 
00034 ////////////////////////////////////////////////////////////////////////////////
00035 
00036 void serial_board_isr();
00037 
00038 ////////////////////////////////////////////////////////////////////////////////
00039 
00040 #endif
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053 
00054