FilterGen  1.0.0
A library to design digital filters in embedded systems.
filter.h File Reference

The primary include file for the filter library. More...

#include "dh/filter-types.h"
Include dependency graph for filter.h:

Go to the source code of this file.

Functions

DH_FILTER_RETURN_VALUE dh_filter (dh_filter_data *filter, double input, double *output)
 Runs an iteration of the filter. More...
 
DH_FILTER_RETURN_VALUE dh_create_filter (dh_filter_data *filter, dh_filter_parameters *options)
 Allocates the buffers and initializes the filter. More...
 
DH_FILTER_RETURN_VALUE dh_initialize_filter (dh_filter_data *filter, double value)
 Forces the filter to the steady state with output value by setting all pasts inputs and outputs to the given [value]. More...
 
DH_FILTER_RETURN_VALUE dh_free_filter (dh_filter_data *filter)
 
DH_FILTER_RETURN_VALUE dh_filter_set_gain (dh_filter_data *filter, double gain)
 
DH_FILTER_RETURN_VALUE dh_filter_get_gain (const dh_filter_data *filter, double *gain)
 
DH_FILTER_RETURN_VALUE dh_filter_get_gain_at (const dh_filter_data *filter, double frequency, dh_frequency_response_t *gain)
 

Detailed Description

The primary include file for the filter library.

This source code is licensed under the MIT license. See file "LICENSE" at the root of the repository.