FilterGen  1.0.0
A library to design digital filters in embedded systems.
dh_transfer_function_callbacks Struct Reference

#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
 

Detailed Description

This struct holds the functions that are used to compute the zeros and poles.

Member Data Documentation

◆ characteristic

DH_FILTER_CHARACTERISTIC dh_transfer_function_callbacks::characteristic

The filter characteristic

◆ poles

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.

◆ user_data

void* dh_transfer_function_callbacks::user_data

User data for the functions

◆ zeros

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.


The documentation for this struct was generated from the following file: