Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mcp2515 mbed-dev-f303
DATA_COMMAND/data_command.h
- Committer:
- yezhong
- Date:
- 2022-06-24
- Revision:
- 6:7d2743feaf23
- Parent:
- 0:d80c66cb1b3a
File content as of revision 6:7d2743feaf23:
#ifndef _DATA_COMMAND_H
#define _DATA_COMMAND_H
#include "mbed.h"
#include "CAN.h"
#include "used_leg_message.h"
#include "mode.h"
extern Serial command;
extern int enabled;
extern int counter;
extern int command_control_flag;
extern float SP_pf, SP_df;
extern int c_lock;
extern int return_zero;
extern unsigned int flag_c_A, flag_c_B;
extern unsigned int Snum_c;
extern uint16_t Sget[10];
extern uint16_t Suse[10];
void serial_command_isr();
void command_control();
#endif