Data Structures | |
struct | a_hpf |
instance structure for High Pass Filter More... | |
Macros | |
#define | A_HPF_1(alpha) |
#define | A_HPF_2(fc, ts) |
#define | A_HPF_GEN(fc, ts) |
Typedefs | |
typedef struct a_hpf | a_hpf |
instance structure for High Pass Filter | |
Functions | |
a_real | a_hpf_gen (a_real fc, a_real ts) |
generate for High Pass Filter | |
void | a_hpf_init (a_hpf *ctx, a_real alpha) |
initialize for High Pass Filter | |
a_real | a_hpf_iter (a_hpf *ctx, a_real x) |
compute for High Pass Filter | |
void | a_hpf_zero (a_hpf *ctx) |
zeroing for High Pass Filter | |
#define A_HPF_1 | ( | alpha | ) |
#define A_HPF_2 | ( | fc, | |
ts ) |
#define A_HPF_GEN | ( | fc, | |
ts ) |
generate for High Pass Filter
[in] | fc | cut-off frequency unit(hz) |
[in] | ts | sampling time unit(s) |
initialize for High Pass Filter
[in,out] | ctx | points to an instance of High Pass Filter |
[in] | alpha | filter coefficient [0,1] |
compute for High Pass Filter
[in,out] | ctx | points to an instance of High Pass Filter |
[in] | x | input value |
void a_hpf_zero | ( | a_hpf * | ctx | ) |
zeroing for High Pass Filter
[in,out] | ctx | points to an instance of High Pass Filter |