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.

fractional* delayBase<br />

);<br />

Arguments: filter pointer to FIRStructfilter structure<br />

numCoeffs number of coefficients in filter (also M)<br />

coeffsBase base address for filter coefficients (also h)<br />

coeffsPage coefficient buffer page number<br />

delayBase base address for delay buffer<br />

Remarks: See description of FIRStructstructure above.<br />

Upon completion, FIRStructInitinitializes the coeffsEndand<br />

delayEndpointers accordingly. Also, delayis set equal to<br />

delayBase.<br />

Source File: firinit.asm<br />

Function Profile: System resources usage:<br />

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

DOand REPEATinstruction usage:<br />

no DOinstructions<br />

no REPEATinstructions<br />

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

10<br />

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

19<br />

FIRLMSNorm (Continued)<br />

dsPIC<br />

®<br />

anguage Tools Libraries<br />

Bình luận: Có 5 hệ số mỗi secondorder (trùng phương) phần<br />

sắp xếp trong tập lệnh {a2 [s], a1 [s], b2 [s], b1 [s], b0 [s]}, 0 ≤s<br />

Giá trị hệ số nên được tạo ra với thiết kế bộ lọc dsPICFD<br />

gói từ Momentum Data Systems, Inc, hoặc công cụ tương tự.<br />

Việc chậm trễ được tạo thành oftwo lời của nhà nước lọc mỗi section {d1 [s],<br />

d2 [s]}, 0 ≤s

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

Saved successfully!

Ooh no, something went wrong!