BLDC motor driver

Dependencies:   mbed-dev-f303 FastPWM3

Calibration/calibration.h

Committer:
benkatz
Date:
2017-04-05
Revision:
23:2adf23ee0305
Parent:
22:60276ba87ac6
Child:
47:e1196a851f76

File content as of revision 23:2adf23ee0305:

#ifndef CALIBRATION_H
#define CALIBRATION_H

#include "foc.h"
#include "mbed.h"
#include "PositionSensor.h"
#include "PreferenceWriter.h"
#include "user_config.h"


void order_phases(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs);
void calibrate(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs);
#endif