19 lines
274 B
C
19 lines
274 B
C
#ifndef PWM_H_
|
|
#define PWM_H_
|
|
|
|
#include "control.h"
|
|
|
|
void pwmInit();
|
|
float getDutyCycle();
|
|
float getUCur();
|
|
float getUDes();
|
|
void setUDes(float uDes);
|
|
float getP();
|
|
void setP(float p);
|
|
float getI();
|
|
void setI(float i);
|
|
float getD();
|
|
void setD(float d);
|
|
|
|
#endif /* PWM_H_ */
|