1

Dependencies:   mbed-dev-f303

Committer:
panzhan
Date:
Tue Nov 10 09:09:58 2020 +0000
Revision:
0:d80c66cb1b3a
panzhan_main_controller_copy2

Who changed what in which revision?

UserRevisionLine numberNew contents of line
panzhan 0:d80c66cb1b3a 1 #ifndef _DATA_COMMAND_H
panzhan 0:d80c66cb1b3a 2 #define _DATA_COMMAND_H
panzhan 0:d80c66cb1b3a 3
panzhan 0:d80c66cb1b3a 4
panzhan 0:d80c66cb1b3a 5 #include "mbed.h"
panzhan 0:d80c66cb1b3a 6 #include "CAN.h"
panzhan 0:d80c66cb1b3a 7 #include "used_leg_message.h"
panzhan 0:d80c66cb1b3a 8 #include "mode.h"
panzhan 0:d80c66cb1b3a 9 #include "control.h"
panzhan 0:d80c66cb1b3a 10
panzhan 0:d80c66cb1b3a 11
panzhan 0:d80c66cb1b3a 12 extern Serial command;
panzhan 0:d80c66cb1b3a 13
panzhan 0:d80c66cb1b3a 14
panzhan 0:d80c66cb1b3a 15
panzhan 0:d80c66cb1b3a 16 extern int enabled;
panzhan 0:d80c66cb1b3a 17 extern int counter;
panzhan 0:d80c66cb1b3a 18 extern int command_control_flag;
panzhan 0:d80c66cb1b3a 19 extern float SP_pf, SP_df;
panzhan 0:d80c66cb1b3a 20 extern int c_lock;
panzhan 0:d80c66cb1b3a 21 extern int return_zero;
panzhan 0:d80c66cb1b3a 22
panzhan 0:d80c66cb1b3a 23
panzhan 0:d80c66cb1b3a 24 extern unsigned int flag_c_A, flag_c_B;
panzhan 0:d80c66cb1b3a 25 extern unsigned int Snum_c;
panzhan 0:d80c66cb1b3a 26 extern uint16_t Sget[10];
panzhan 0:d80c66cb1b3a 27 extern uint16_t Suse[10];
panzhan 0:d80c66cb1b3a 28
panzhan 0:d80c66cb1b3a 29
panzhan 0:d80c66cb1b3a 30 void serial_command_isr();
panzhan 0:d80c66cb1b3a 31 void command_control();
panzhan 0:d80c66cb1b3a 32
panzhan 0:d80c66cb1b3a 33
panzhan 0:d80c66cb1b3a 34
panzhan 0:d80c66cb1b3a 35
panzhan 0:d80c66cb1b3a 36
panzhan 0:d80c66cb1b3a 37
panzhan 0:d80c66cb1b3a 38
panzhan 0:d80c66cb1b3a 39 #endif
panzhan 0:d80c66cb1b3a 40
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
panzhan 0:d80c66cb1b3a 55
panzhan 0:d80c66cb1b3a 56
panzhan 0:d80c66cb1b3a 57
panzhan 0:d80c66cb1b3a 58
panzhan 0:d80c66cb1b3a 59
panzhan 0:d80c66cb1b3a 60
panzhan 0:d80c66cb1b3a 61
panzhan 0:d80c66cb1b3a 62
panzhan 0:d80c66cb1b3a 63
panzhan 0:d80c66cb1b3a 64
panzhan 0:d80c66cb1b3a 65
panzhan 0:d80c66cb1b3a 66
panzhan 0:d80c66cb1b3a 67