| 전자부품 데이터시트 검색엔진 |
|
PM0014 데이터시트(PDF) 34 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0014 데이터시트(HTML) 34 Page - STMicroelectronics |
|
34 / 46 page ![]() Signal processing library functions PM0014 34/46 6 Signal processing library functions 6.1 Overview In this part, a set of signal processing functions for C programmers on ST10 are presented. 6.2 Data type LibST10.h (C compiler package) defines the data types used for ST10 programming. The following types are used in the library: ● Filter: structure containing all the elements needed for filtering. Filt.NumberCoeffs : number of filter coefficients. Filt.NumberOutputSamples : number of output samples. Filt.CoeffPtr : pointer on filter coefficients. Filt.InputPtr : pointer on input samples. Filt.OutputPtr : pointer on output samples. Filt.DelayLinePtr : pointer on delay line. Library’s users have to fill the different fields of this structure before calling any filtering function. According to the filter type, the number of coefficients definition changes. Examples: .FIR: y(n)=a0*x(n)+a1*x(n-1)+...+a15*x(n-15) Store NumberCoeffs=16 .IIR direct form y(n)=b0*x(n)+b1*x(n-1)+...+b15*x(n-15)+a1*y(n-1)+...+a15*y(n-15) Store NumberCoeffs=32 (a0=0 is stored in memory) .IIR cascaded biquad form y(n)=b00*x(n)+...+a02*y(n-2)+.....+a92*y(n-2) Be careful: store NumberCoeffs = NumberCells = 10 ! The delay line is a buffer in memory used by filtering functions to store previous samples needed to perform calculation of the next output sample. The delay line size depends on the number of coefficients. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |