zhyinch
2021-03-04 1ee47e9f40e3a7c1681d61a89a9367c80a561a0f
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