Modified Motor Driver Firmware to include Flash + Thermal

Dependencies:   FastPWM3 mbed-dev-STM-lean

CAN/CAN_com.h

Committer:
adimmit
Date:
22 months ago
Revision:
78:4f481ff040ee
Parent:
63:10604c39666f

File content as of revision 78:4f481ff040ee:

#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