Functions | |
float | PI_Compensate (pi_compensator_t *pi, float err) |
Evaluates the result for the PI compensation. | |
void | PI_Reset (pi_compensator_t *pi) |
Resets the PI compensator parameters. | |
float | MovingAverage_Compute (mov_avg_t *filt, float val) |
Computes the moving average. | |
void | MovingAverage_Reset (mov_avg_t *filt) |
Resets the moving average filter parameters. | |
bool | Average_Compute (avg_t *filt, float val) |
Computes the average filter value. | |
void | Average_Reset (avg_t *filt) |
Reset the average filter parameters. | |
|
extern |
*filt | Pointer to the filter parameters. |
val | Current value. |
|
extern |
filt | Pointer to the filter parameters. |
|
extern |
*filt | Pointer to the filter parameters. |
val | Current value. |
|
extern |
*filt | Pointer to the filter parameters. |
|
extern |
*pi | Pointer to the PI compensator parameters. |
err | Current value of error. |
|
extern |
*pi | Pointer to the PI compensator parameters. |