数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

RM0020 数据表(PDF) 46 Page - STMicroelectronics

部件名 RM0020
功能描述  SPC56xx DSP function library 2
PDF  69 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

RM0020 数据表(HTML) 46 Page - STMicroelectronics

Back Button 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 RM0020 Datasheet HTML 48Page - STMicroelectronics RM0020 Datasheet HTML 49Page - STMicroelectronics RM0020 Datasheet HTML 50Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 69 page
background image
Function API
RM0020
46/69
#ifdef __ghs__
#pragma alignvar (4)
#endif
ALIGN_DCC(4)
short x[288/*+2*/] ALIGN_MWERKS(4); /* +2 to ensure there are 4
bytes of readable memory behind x */
#ifdef __ghs__
#pragma alignvar (4)
#endif
ALIGN_DCC(4)
short y[256] ALIGN_MWERKS(4);
short hr[33/*+1*/] = { /* +1 to ensure there are 2 bytes of readable
memory behind hr */
-50,-62,-82,-103,-111,-
84,0,163,418,767,1196,1676,2167,2621,2988,3227,3310,3227,2988,2621,
2167,1676,1196,767,418,163,0,-84,-111,-103,-82,-62,-50,
};
unsigned short N, ntaps;
void main(void)
{
/* filter the samples in x with FIR filter of 32nd order, */
/* write result into y, hr are filter coefficients stored */
/* in reversed order */
N = 256;
ntaps = 33;
fir_frac16(N, ntaps, x, y, hr);
}
6.24
iir_float_1st - float first-order IIR filter
Function call:
void iir_float_1st (unsigned short N, float *x, float *y, float *c,
float *s);
Arguments:
Table 24.
iir_float_1st arguments(1)
1.
The arrays x,y,s must be double-word aligned, the array c must be word aligned (implicit alignment
of float data). There must be 16 bytes of readable memory behind the array x. There are returned
new values of x(-1), y(-1) in the array s to be ready for next function call.
Nin
number of input and output samples (N must be multiple of 4, must be
>= 8)
x
in
array of input samples of length N, x(0) x(1) ... x(N-1)
y
out
array of output samples of length N, y(0) y(1) ... y(N-1)
c
in
array of filter coefficients, c[3] = {b0, b1, a1}
s
in/out
array of previous input and output values (state vector), s[2] = {x(-1),
y(-1)}



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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