1

Dependencies:   mbed-dev-f303

Committer:
yezhong
Date:
Tue Feb 22 14:31:06 2022 +0000
Revision:
3:ac1062c23c49
Parent:
0:d80c66cb1b3a
11

Who changed what in which revision?

UserRevisionLine numberNew contents of line
panzhan 0:d80c66cb1b3a 1 #ifndef _DATA_BOARD_H
panzhan 0:d80c66cb1b3a 2 #define _DATA_BOARD_H
panzhan 0:d80c66cb1b3a 3
panzhan 0:d80c66cb1b3a 4
panzhan 0:d80c66cb1b3a 5 #include "mbed.h"
panzhan 0:d80c66cb1b3a 6 #include "math_ops.h"
panzhan 0:d80c66cb1b3a 7
panzhan 0:d80c66cb1b3a 8
panzhan 0:d80c66cb1b3a 9 extern Serial foot;
panzhan 0:d80c66cb1b3a 10
panzhan 0:d80c66cb1b3a 11
panzhan 0:d80c66cb1b3a 12
panzhan 0:d80c66cb1b3a 13 //extern unsigned int flag_485_A, flag_485_B;
panzhan 0:d80c66cb1b3a 14 //extern unsigned int S485num;
panzhan 0:d80c66cb1b3a 15 //extern uint16_t S485get[10];
panzhan 0:d80c66cb1b3a 16 extern uint16_t S485use[10];
panzhan 0:d80c66cb1b3a 17
panzhan 0:d80c66cb1b3a 18 ////////////////////////////////////////////////////////////////////////////////
panzhan 0:d80c66cb1b3a 19
panzhan 0:d80c66cb1b3a 20 extern unsigned int Gait_num_valid, Gait_now, Gait_per_now, Gait_cycle_now;
panzhan 0:d80c66cb1b3a 21 extern float COP_Y, COP_X;
panzhan 0:d80c66cb1b3a 22 extern uint16_t Gait_per_now_int, COP_Y_int, COP_X_int, Gait_cycle_now_int;
panzhan 0:d80c66cb1b3a 23
panzhan 0:d80c66cb1b3a 24 extern unsigned int Gait_num_valid_0before, Gait_now_0before;
panzhan 0:d80c66cb1b3a 25 extern float Gait_per_now_0before, COP_Y_0before, COP_X_0before, Gait_cycle_now_0before;
panzhan 0:d80c66cb1b3a 26
panzhan 0:d80c66cb1b3a 27 extern unsigned int Gait_num_valid_real, Gait_now_real, Gait_per_now_real, Gait_cycle_now_real, time_portion_now_real;
panzhan 0:d80c66cb1b3a 28 extern float COP_Y_real, COP_X_real;
panzhan 0:d80c66cb1b3a 29
panzhan 0:d80c66cb1b3a 30
panzhan 0:d80c66cb1b3a 31 //void gait_decode();
panzhan 0:d80c66cb1b3a 32 //void gait_clear();
panzhan 0:d80c66cb1b3a 33
panzhan 0:d80c66cb1b3a 34 ////////////////////////////////////////////////////////////////////////////////
panzhan 0:d80c66cb1b3a 35
panzhan 0:d80c66cb1b3a 36 void serial_board_isr();
panzhan 0:d80c66cb1b3a 37
panzhan 0:d80c66cb1b3a 38 ////////////////////////////////////////////////////////////////////////////////
panzhan 0:d80c66cb1b3a 39
panzhan 0:d80c66cb1b3a 40 #endif
panzhan 0:d80c66cb1b3a 41
panzhan 0:d80c66cb1b3a 42
panzhan 0:d80c66cb1b3a 43
panzhan 0:d80c66cb1b3a 44
panzhan 0:d80c66cb1b3a 45
panzhan 0:d80c66cb1b3a 46
panzhan 0:d80c66cb1b3a 47
panzhan 0:d80c66cb1b3a 48
panzhan 0:d80c66cb1b3a 49
panzhan 0:d80c66cb1b3a 50
panzhan 0:d80c66cb1b3a 51
panzhan 0:d80c66cb1b3a 52
panzhan 0:d80c66cb1b3a 53
panzhan 0:d80c66cb1b3a 54