50 #ifdef __TMS320C28XX_CLA__
51 #pragma CODE_SECTION(FILTER_FO_getDenCoeffs,"Cla1Prog2");
52 #pragma CODE_SECTION(FILTER_FO_getInitialConditions,"Cla1Prog2");
53 #pragma CODE_SECTION(FILTER_FO_getNumCoeffs,"Cla1Prog2");
54 #pragma CODE_SECTION(FILTER_FO_init,"Cla1Prog2");
55 #pragma CODE_SECTION(FILTER_FO_setDenCoeffs,"Cla1Prog2");
56 #pragma CODE_SECTION(FILTER_FO_setInitialConditions,"Cla1Prog2");
57 #pragma CODE_SECTION(FILTER_FO_setNumCoeffs,"Cla1Prog2");
Contains the public interface to the first-order filter (FILTER_FO) module routines.
_iq b1
the numerator filter coefficient value for z^(-1)
_iq a1
the denominator filter coefficient value for z^(-1)
void FILTER_FO_getInitialConditions(FILTER_FO_Handle handle, float_t *px1, float_t *py1)
Gets the initial conditions of the first-order filter.
void FILTER_FO_getNumCoeffs(FILTER_FO_Handle handle, float_t *pb0, float_t *pb1)
Gets the first-order filter numerator coefficients.
struct _FILTER_FO_Obj_ * FILTER_FO_Handle
Defines the first-order filter (FILTER_FO) handle.
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 float_t b0, const float_t b1)
Sets the first-order filter numerator coefficients.
void FILTER_FO_getDenCoeffs(FILTER_FO_Handle handle, float_t *pa1)
Gets the first-order filter denominator coefficients.
_iq b0
the numerator filter coefficient value for z^0
void FILTER_FO_setDenCoeffs(FILTER_FO_Handle handle, const float_t a1)
Sets the first-order filter denominator coefficients.
_iq y1
the output value at time sample n=-1
void FILTER_FO_setInitialConditions(FILTER_FO_Handle handle, const float_t x1, const float_t y1)
Sets the initial conditions of the first-order filter.
Defines the first-order filter (FILTER_FO) object.
float float_t
Defines the portable data type for 32 bit, signed floating-point data.