Modified Motor Driver Firmware to include Flash + Thermal

Dependencies:   FastPWM3 mbed-dev-STM-lean

CAN/CAN_com.h

Committer:
adimmit
Date:
23 months ago
Revision:
76:4fd876d4cf2b
Parent:
63:10604c39666f

File content as of revision 76:4fd876d4cf2b:

#ifndef CAN_COM_H
#define CAN_COM_H

#include "mbed.h"
#include "../structs.h"
#include "user_config.h"
#include "../math_ops.h"

void pack_reply(CANMessage *msg, float p, float v, float t);
void unpack_cmd(CANMessage msg, ControllerStruct * controller);

#endif