pan zhan / panzhan_main_controller_continuous

Dependencies:   mbed-dev_spine

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 #include "data_pc.h"
00008 
00009 extern Serial      foot;
00010 
00011 
00012 
00013 //extern unsigned int flag_foot_A, flag_foot_B;
00014 //extern unsigned int Sfootnum;
00015 //extern uint16_t Sfootget[10];                                                    
00016 //extern uint16_t Sfootuse[10];
00017 
00018 ////////////////////////////////////////////////////////////////////////////////
00019 
00020 extern unsigned int Gait_num_valid, Gait_now, Gait_per_now, Gait_cycle_now;
00021 extern uint16_t Gait_per_now_int, COP_Y_int, COP_X_int, Gait_cycle_now_int;
00022 
00023 extern unsigned int Gait_num_valid_0before, Gait_now_0before;
00024 extern float Gait_per_now_0before, COP_Y_0before, COP_X_0before, Gait_cycle_now_0before;
00025 
00026 extern unsigned int Gait_num_valid_real, Gait_now_real, Gait_per_now_real, Gait_cycle_now_real, time_portion_now_real;
00027 
00028 
00029 
00030 //void gait_decode();
00031 //void gait_clear();
00032 
00033 ////////////////////////////////////////////////////////////////////////////////
00034 
00035 void serial_board_isr();
00036 
00037 ////////////////////////////////////////////////////////////////////////////////
00038 
00039 #endif
00040 
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053