30.10.2014 Views

o_195h4n6al16jb186b1b2qs7fgssa.pdf

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Source File: iircan.asm<br />

DSP Library<br />

2004 Microchip Technology Inc. DS51456B-page 51<br />

Function Profile: System resources usage:<br />

W0..W7 used, not restored<br />

W8..W11 saved, used, restored<br />

ACCA used, not restored<br />

CORCON saved, used, restored<br />

PSVPAG saved, used, restored<br />

DOand REPEATinstruction usage:<br />

2 level DOinstructions<br />

1 level REPEATinstructions<br />

Program words (24-bit instructions):<br />

42<br />

Cycles (including C-function call and return overheads):<br />

36 + N(8 + 7S), or<br />

39 + N(9 + 12S) if coefficients in program memory.<br />

IIRCanonicInit<br />

Description: IIRCanonicInitinitializes to zero the delay values in an<br />

IIRCanonicStructfilter structure.<br />

Include: dsp.h<br />

Prototype: extern void IIRCanonicInit (<br />

IIRCanonicStruct* filter<br />

);<br />

Arguments: Filter structure:<br />

(See description of IIRCanonicfunction).<br />

Initialization Description:<br />

filter pointer to IIRCanonicStructfilter structure<br />

Remarks: Two words of filter state per second order section {d1[s], d2[s]},<br />

0 ≤s

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!