|
FilterGen
1.0.0
A library to design digital filters in embedded systems.
|
#include <dh/utility.h>
Public Attributes | |
| size_t(* | zeros )(COMPLEX *, size_t, size_t, void *) |
| size_t(* | poles )(COMPLEX *, size_t, size_t, void *) |
| void * | user_data |
| DH_FILTER_CHARACTERISTIC | characteristic |
This struct holds the functions that are used to compute the zeros and poles.
| DH_FILTER_CHARACTERISTIC dh_transfer_function_callbacks::characteristic |
The filter characteristic
| size_t(* dh_transfer_function_callbacks::poles) (COMPLEX *, size_t, size_t, void *) |
Callback function to compute the poles of a lowpass on the s-plane. The resulting filter should have its cutoff at 1 rad/s.
Argument 1 : pointer to array Argument 2 : Max size of the array Argument 3 : Filter order Argument 4 : user data
Returns the number initialized zeros.
| void* dh_transfer_function_callbacks::user_data |
User data for the functions
| size_t(* dh_transfer_function_callbacks::zeros) (COMPLEX *, size_t, size_t, void *) |
Callback function to compute the zeros of a lowpass on the s-plane. The resulting filter should have its cutoff at 1 rad/s.
Argument 1 : pointer to array Argument 2 : Max size of the array Argument 3 : Filter order Argument 4 : user data
Returns the number initialized zeros.