1

DATA_COMMAND/data_command.h

Committer:
WXD
Date:
2019-12-02
Revision:
6:aad89fd109c2
Parent:
5:6a95726e45b0
Child:
8:95a914f962bd

File content as of revision 6:aad89fd109c2:

#ifndef _DATA_COMMAND_H
#define _DATA_COMMAND_H


#include "mbed.h"
#include "CAN.h"
#include "used_leg_message.h"
#include "mode.h"
#include "control.h"


extern Serial      command;
extern DigitalOut  sf_m_c;


extern int enabled;
extern int counter;
extern int c_control; 
extern float SP_pf, SP_df;
extern int c_lock; 
extern int return_zero; 


extern unsigned int flag_A, flag_B;
extern unsigned int Snum;
extern uint16_t Sget[10];                                                    
extern uint16_t Suse[10];


void serial_command_isr();
void command_control();







#endif