109 obj->
value = initCond;
119 obj->
value = offsetValue;
_iq value
the offset value (iq)
void OFFSET_setOffset(OFFSET_Handle handle, float_t offsetValue)
Sets the offset value.
FILTER_FO_Obj filter
the first order filter object used.
FILTER_FO_Handle FILTER_FO_init(void *pMemory, const size_t numBytes)
Initializes the first-order filter.
void OFFSET_setBeta(OFFSET_Handle handle, const float_t beta_rad)
Sets the beta offset filter coefficient.
void FILTER_FO_setNumCoeffs(FILTER_FO_Handle handle, const _iq b0, const _iq b1)
Sets the first-order filter numerator coefficients.
struct _OFFSET_Obj_ * OFFSET_Handle
Defines the OFFSET handle.
static _iq FILTER_FO_get_b0(FILTER_FO_Handle handle)
Gets the first-order filter numerator coefficient b0.
void FILTER_FO_setInitialConditions(FILTER_FO_Handle handle, const _iq x1, const _iq y1)
Sets the initial conditions of the first-order filter.
void OFFSET_setInitCond(OFFSET_Handle handle, const float_t initCond)
Set the initial condition of the integrator or the value of y[n-1].
FILTER_FO_Handle filterHandle
the first order filter handle.
float_t OFFSET_getBeta(OFFSET_Handle handle)
Gets the beta offset filter coefficient.
void FILTER_FO_setDenCoeffs(FILTER_FO_Handle handle, const _iq a1)
Sets the first-order filter denominator coefficients.
OFFSET_Handle OFFSET_init(void *pMemory, const size_t numBytes)
Initializes the offset.
Contains the public interface to the offset (OFFSET) module routines.
float float_t
Defines the portable data type for 32 bit, signed floating-point data.
Defines the offset (OFFSET) object.