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.

IIRLatticeInit<br />

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

IIRLatticeStructfilter structure.<br />

Include: dsp.h<br />

Prototype: extern void IIRLatticeInit (<br />

IIRLatticeStruct* filter<br />

);<br />

Arguments: Filter structure:<br />

(See description of IIRLatticefunction).<br />

Initialization Description:<br />

filter pointer to IIRLatticeStructfilter structure.<br />

Source File: iirlattd.asm<br />

Function Profile: System resources usage:<br />

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

DOand REPEATinstruction usage:<br />

no DOinstructions<br />

1 level REPEATinstructions<br />

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

6<br />

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

10 + M<br />

IIRLattice (Continued)<br />

dsPIC<br />

®<br />

Language Tools Libraries<br />

numSamps số lượng mẫu đầu vào để lọc (còn N)<br />

dstSamps con trỏ đến mẫu đích (còn y)<br />

srcSamps con trỏ đến mã nguồn mẫu (còn x)<br />

lọc con trỏ đến cấu trúc IIRTransposedStructfilter<br />

Quay trở lại giá trị: Con trỏ trỏ tới địa chỉ cơ sở của mẫu đích.<br />

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

sắp xếp trong tập lệnh {b0 [s], b1 [s], a1 [s], b2 [s], a2 [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 từ hai bộ đệm độc lập, mỗi bộ đệm<br />

có chứa một từ của nhà nước lọc mỗi section {d2 [s], d1 [s]}, 0 ≤s

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

Saved successfully!

Ooh no, something went wrong!