blob: 1a8caac74add0394bea826a5db40d17bb2c58bc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef FILTER_H_
#define FILTER_H_
#include "util.h"
struct lp_filter {
uint32_t filter_buf;
bool initialized;
};
uint16_t lp_filter_run(struct lp_filter *lp,
uint8_t shift,
uint16_t in);
void lp_filter_set(struct lp_filter *lp,
uint8_t shift,
uint16_t in);
void lp_filter_reset(struct lp_filter *lp);
#endif /* FILTER_H_ */
|