180 extern FILTER_FO_Handle
FILTER_FO_init(
void *pMemory,
const size_t numBytes);
206 obj->
x1 = inputValue;
329 #endif // end of _FILTER_FO_H_ definition
void FILTER_FO_getNumCoeffs(FILTER_FO_Handle handle, _iq *pb0, _iq *pb1)
Gets the first-order filter numerator coefficients.
Contains the public interface to the types definitions.
float_t b1
the numerator filter coefficient value for z^(-1)
static void FILTER_FO_set_b1(FILTER_FO_Handle handle, const _iq b1)
Sets the first-order filter numerator coefficient b1.
_iq b1
the numerator filter coefficient value for z^(-1)
_iq a1
the denominator filter coefficient value for z^(-1)
static void FILTER_FO_set_b0(FILTER_FO_Handle handle, const _iq b0)
Sets the first-order filter numerator coefficient b0.
float_t x1
the input value at time sample n=-1
void FILTER_FO_getInitialConditions(FILTER_FO_Handle handle, _iq *px1, _iq *py1)
Gets the initial conditions of the first-order filter.
struct _FILTER_FO_Obj_ * FILTER_FO_Handle
Defines the first-order filter (FILTER_FO) handle.
static void FILTER_FO_set_a1(FILTER_FO_Handle handle, const _iq a1)
Sets the first-order filter denominator coefficient a1.
static _iq FILTER_FO_run(FILTER_FO_Handle handle, const _iq inputValue)
Runs a first-order filter of the form y[n] = b0*x[n] + b1*x[n-1] - a1*y[n-1].
Defines the first-order filter (FILTER_FO) object.
static void FILTER_FO_set_y1(FILTER_FO_Handle handle, const _iq y1)
Sets the first-order filter output value at time sample n=-1.
static _iq FILTER_FO_get_y1(FILTER_FO_Handle handle)
Gets the first-order filter output value at time sample n=-1.
struct _FILTER_FO_ FILTER_FO_Obj
Defines the first-order filter (FILTER_FO) object.
_iq x1
the input value at time sample n=-1
FILTER_FO_Handle FILTER_FO_init(void *pMemory, const size_t numBytes)
Initializes the first-order filter.
void FILTER_FO_setNumCoeffs(FILTER_FO_Handle handle, const _iq b0, const _iq b1)
Sets the first-order filter numerator coefficients.
void FILTER_FO_getDenCoeffs(FILTER_FO_Handle handle, _iq *pa1)
Gets the first-order filter denominator coefficients.
static _iq FILTER_FO_get_b1(FILTER_FO_Handle handle)
Gets the first-order filter numerator coefficient b1.
static _iq FILTER_FO_get_b0(FILTER_FO_Handle handle)
Gets the first-order filter numerator coefficient b0.
_iq b0
the numerator filter coefficient value for z^0
_iq y1
the output value at time sample n=-1
void FILTER_FO_setInitialConditions(FILTER_FO_Handle handle, const _iq x1, const _iq y1)
Sets the initial conditions of the first-order filter.
static _iq FILTER_FO_run_form_0(FILTER_FO_Handle handle, const _iq inputValue)
Runs a first-order filter of the form y[n] = b0*x[n] - a1*y[n-1].
static void FILTER_FO_set_x1(FILTER_FO_Handle handle, const _iq x1)
Sets the first-order filter input value at time sample n=-1.
float_t b0
the numerator filter coefficient value for z^0
void FILTER_FO_setDenCoeffs(FILTER_FO_Handle handle, const _iq a1)
Sets the first-order filter denominator coefficients.
static _iq FILTER_FO_get_x1(FILTER_FO_Handle handle)
Gets the first-order filter input value at time sample n=-1.
float_t a1
the denominator filter coefficient value for z^(-1)
Defines the first-order filter (FILTER_FO) object.
static _iq FILTER_FO_get_a1(FILTER_FO_Handle handle)
Gets the first-order filter denominator coefficient a1.
float_t y1
the output value at time sample n=-1