zhyinch
2021-05-21 e0c70da5ce5b2504d2ac4cce68376d1ab5cdf208
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
#ifndef __FILTERS_H__
#define __FILTERS_H__
 
#include "stm32f10x.h"
 
typedef struct 
{
    float pre_data;
    float pre_factor;
    
}LPFilter_Frac;
 
LPFilter_Frac* New_LP_Frac(float pre_factor);
float LP_Frac_Update(LPFilter_Frac* self, float new_data);
 
 
#endif