Electronic Components Datasheet Search
  English  ▼

X  

RM0020 Datasheet(PDF) 43 Page - STMicroelectronics

Part # RM0020
Description  SPC56xx DSP function library 2
PDF  69 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0020 Datasheet(HTML) 43 Page - STMicroelectronics

Back Button RM0020 Datasheet HTML 39Page - STMicroelectronics RM0020 Datasheet HTML 40Page - STMicroelectronics RM0020 Datasheet HTML 41Page - STMicroelectronics RM0020 Datasheet HTML 42Page - STMicroelectronics RM0020 Datasheet HTML 43Page - STMicroelectronics RM0020 Datasheet HTML 44Page - STMicroelectronics RM0020 Datasheet HTML 45Page - STMicroelectronics RM0020 Datasheet HTML 46Page - STMicroelectronics RM0020 Datasheet HTML 47Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 69 page
background image
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)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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