zhyinch
2021-10-28 942d685e55e3a58b6bcd7d0158765e9648b9373a
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