| поискавой системы для электроныых деталей |
|
UM0585 датащи(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0585 датащи(HTML) 14 Page - STMicroelectronics |
|
14 / 25 page ![]() 16-bit FIR filter UM0585 14/25 Doc ID 14988 Rev 2 4.2.1 fir_16by16_stm32 function Table 8 describes the fir_16by16_stm32 function. The filter coefficients and their number must be filled into a structure of the COEFS type. The coefficients structure is defined as follows: typedef struct { short *h; unsigned int nh; }COEFS; Example #define M 32 /*number of coefficients*/ #define N 32 /*number of output samples*/ COEFS fir_coefs;/*coefficients structure*/ int a[N];/*filter output vector*/ short x[M+N-1] = {x0,x1...,xM+N-1};/*filter input vector*/ short h[M]={h0,h1...,hM-1};/*filter coefficients vector*/ fir_coefs.nh = M; /*Number of Coefficients for FIR*/ fir_coefs.h = h; /*Pointer on FIR coefficient vector*/ fir_16by16_stm32(a,x,&fir_coefs,N);/*performs the FIR filtering*/ Table 8. fir_16by16_stm32 function Function name fir_16by16_stm32 Prototype void fir_16by16_stm32(int *a,short *x,struct COEFS *p,unsigned int N) Behavior description Block Fir 16-bit filter. Input parameter – a: output array – x: input array – p: pointer to the coefficient structure of the COEFS type – N: number of output samples Output parameter None Return parameter None |
|
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |