1

Dependencies:   mbed-dev-f303

DATA_BOARD/data_board.h

Committer:
yezhong
Date:
2022-02-22
Revision:
3:ac1062c23c49
Parent:
0:d80c66cb1b3a

File content as of revision 3:ac1062c23c49:

#ifndef _DATA_BOARD_H
#define _DATA_BOARD_H


#include "mbed.h"
#include "math_ops.h"


extern Serial      foot;



//extern unsigned int flag_485_A, flag_485_B;
//extern unsigned int S485num;
//extern uint16_t S485get[10];                                                    
extern uint16_t S485use[10];

////////////////////////////////////////////////////////////////////////////////

extern unsigned int Gait_num_valid, Gait_now, Gait_per_now, Gait_cycle_now;
extern float COP_Y, COP_X;
extern uint16_t Gait_per_now_int, COP_Y_int, COP_X_int, Gait_cycle_now_int;

extern unsigned int Gait_num_valid_0before, Gait_now_0before;
extern float Gait_per_now_0before, COP_Y_0before, COP_X_0before, Gait_cycle_now_0before;

extern unsigned int Gait_num_valid_real, Gait_now_real, Gait_per_now_real, Gait_cycle_now_real, time_portion_now_real;
extern float COP_Y_real, COP_X_real;


//void gait_decode();
//void gait_clear();

////////////////////////////////////////////////////////////////////////////////

void serial_board_isr();

////////////////////////////////////////////////////////////////////////////////

#endif