30.10.2014 Views

o_195h4n6al16jb186b1b2qs7fgssa.pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

the number of bits to shift: negativeindicates shift left, positive is shift<br />

right.<br />

Source File: iirtrans.asm<br />

DSP Library<br />

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

Function Profile: System resources usage:<br />

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

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

ACCA used, not restored<br />

ACCB 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 />

48<br />

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

35 + N(11 + 11S), or<br />

38 + N( 9 + 17S) if coefficients in P memory.<br />

S is number of second order sections.<br />

IIRTransposedInit<br />

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

IIRTransposedStructfilter structure.<br />

Include: dsp.h<br />

Prototype: extern void IIRTransposedInit (<br />

IIRTransposedStruct* filter<br />

);<br />

Arguments: Filter structure:<br />

(See description of IIRTransposedfunction).<br />

Initialization Description:<br />

filter pointer to IIRTransposedStructfilter structure.<br />

Remarks: The delay is made up of two independent buffers, each buffer<br />

containing one word of filter state per section {d2[s], d1[s]}, 0 ≤s

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

Saved successfully!

Ooh no, something went wrong!