130 #ifndef ARM_MATH_CM0_FAMILY 142 uint32_t blkCnt, tapCnt;
179 tapCnt = (numStages) >> 2;
190 fnext1 = fnext2 - (k1 * gcurr1);
199 gcurr2 = *(px1 + 1u);
205 fnext2 = fnext1 - (k2 * gcurr2);
208 gnext = gcurr1 + (k1 * fnext1);
217 gcurr1 = *(px1 + 2u);
223 fnext1 = fnext2 - (k1 * gcurr1);
226 gnext = gcurr2 + (k2 * fnext2);
229 gcurr2 = *(px1 + 3u);
241 fnext2 = fnext1 - (k2 * gcurr2);
244 gnext = gcurr1 + (k1 * fnext1);
259 gnext = (fnext2 * k2) + gcurr2;
279 tapCnt = (numStages) % 0x4u;
285 fnext1 = fnext2 - ((*pk) * gcurr1);
286 gnext = (fnext1 * (*pk++)) + gcurr1;
288 acc += (gnext * (*pv++));
297 acc += (fnext2 * (*pv));
305 pState = pState + 1u;
315 pStateCurnt = &S->
pState[0];
316 pState = &S->
pState[blockSize];
318 tapCnt = numStages >> 2u;
323 *pStateCurnt++ = *pState++;
324 *pStateCurnt++ = *pState++;
325 *pStateCurnt++ = *pState++;
326 *pStateCurnt++ = *pState++;
334 tapCnt = (numStages) % 0x4u;
339 *pStateCurnt++ = *pState++;
354 float32_t fcurr, fnext = 0, gcurr, gnext;
356 uint32_t blkCnt, tapCnt;
395 fnext = fcurr - ((*pk) * gcurr);
396 gnext = (fnext * (*pk++)) + gcurr;
399 acc += (gnext * (*pv++));
409 acc += (fnext * (*pv));
417 pState = pState + 1u;
426 pStateCurnt = &S->
pState[0];
427 pState = &S->
pState[blockSize];
434 *pStateCurnt++ = *pState++;
float float32_t
32-bit floating-point type definition.
Instance structure for the floating-point IIR lattice filter.
void arm_iir_lattice_f32(const arm_iir_lattice_instance_f32 *S, float32_t *pSrc, float32_t *pDst, uint32_t blockSize)
Processing function for the floating-point IIR lattice filter.