5.5.6 FIRInterpDelayInit

Description

FIRInterpDelayInit initializes to zero the delay values in an FIRStruct filter structure, optimized for use with an FIR interpolating filter.

Prototype

void FIRInterpDelayInit (FIRStruct* filter, int rate);

Arguments

Parameters

Description

filter

Pointer to the FIRStruct filter structure

rate

Rate of interpolation (upsampling factor, also R)

Returns

None.

Remarks

Delay, d[m], defined in 0 ≤ m < M/R, with M being the number of filter coefficients in the interpolator. See the description of the FIRStruct structure above.

Source File

  • firinterpdelay_aa.s

Function Profile

Device

Program Words

Cycles

PIC32A

7

32 + M/R

System resource usage

  • W0…W3 - used, not restored
  • REPEAT instruction(s) usage – 2