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

X  

RM0020 数据表(PDF) 49 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) 49 Page - STMicroelectronics

Back Button 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 RM0020 Datasheet HTML 51Page - STMicroelectronics RM0020 Datasheet HTML 52Page - STMicroelectronics RM0020 Datasheet HTML 53Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 69 page
background image
RM0020
Function API
49/69
unsigned short N;
void main(void)
{
/* filter the samples in x with second-order IIR filter, */
/* write result into y */
N = 256;
iir_float_2nd(N, x, y, c, s);
}
6.26
iir_float_casc - cascade of float second-order IIR filters
Function call:
#define iir_float_casc
iir_float_casc_c
void iir_float_casc_c(unsigned short N, float *x, float *y, float
*c,
float *s, unsigned short m);
Arguments:
Description:
Computes the cascade of second-order IIR filters on float data. The input samples
are stored in the array x, output samples are written to the array y. The function calls
the iir_float_2nd function for each second-order IIR filter in the cascade.
Algorithm:
The filter equation for the i-order IIR filter (i = 2*m):
Table 26.
iir_float_casc 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 and y. There are
returned new values of x(-2), x(-1), y(-2), 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)
cin
array of filter coefficients for each second-order IIR filter, c[m*5] =
{b10, b11, b12, a11, a12, b20, b21, b22, a21, a22,
...,
bm0, bm1, bm2, am1, am2}
s
in/out
array of previous input and output values (state vector), s[m*4] =
{x1(-2), x1(-1), y1(-2), y1(-1), x2(-2), x2(-1), y2(-2), y2(-1),
...,
xm(-2), xm(-1), ym(-2), ym(-1)}
m
in
number of second-order IIR filters in the cascade



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