| Electronic Components Datasheet Search |
|
RM0020 Datasheet(PDF) 43 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0020 Datasheet(HTML) 43 Page - STMicroelectronics |
|
43 / 69 page ![]() RM0020 Function API 43/69 ALIGN_DCC(4) short x[8] ALIGN_MWERKS(4) = {6554,10393,269,12670,2496,6233,9945,- 303}; short y[8] = {8192,-6113,3558,4066,-4590,10723,- 3612,6019}; /* #pragma and ALIGN macros used to align to 4 bytes */ #ifdef __ghs__ #pragma alignvar (4) #endif ALIGN_DCC(4) short r [8] ALIGN_MWERKS(4); unsigned short M, N; void main(void) { /* compute correlation of x and y */ N = 16; M = 16; corr_frac16(N, M, x, y, r); } 6.22 fir_float - float FIR filter Function call: void fir_float (unsigned short N, unsigned short ntaps, float *x, float *y, float *h); Arguments: Description: Computes the real FIR filter on float data. The input samples are stored in the array x, output samples are written to the array y. Table 22. fir_float arguments arguments(1) 1. The arrays x, y, h must be double-word aligned. There must be 8 bytes of readable memory behind the arrays h and x. N in length of output array y (must be multiple of 2) ntaps in number of filter coefficients (must be >= 4) xin array of input samples of length N+ntaps-1, x(-ntaps+1) x(-ntaps+2) ... x(0) x(1) ... x(N-1) y out array of output samples of length N, y(0) y(1) ... y(N-1) hin array of filter coefficients stored in reversed order, h(ntaps-1) ... h(1) h(0) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |