전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

RM0020 데이터시트(PDF) 45 Page - STMicroelectronics

부품명 RM0020
상세설명  SPC56xx DSP function library 2
PDF  69 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0020 데이터시트(HTML) 45 Page - STMicroelectronics

Back Button 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 RM0020 Datasheet HTML 48Page - STMicroelectronics RM0020 Datasheet HTML 49Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 69 page
background image
RM0020
Function API
45/69
ntaps = 33;
fir_float(N, ntaps, x, y, hr);
}
6.23
fir_frac16 - frac16 FIR filter
Function call:
void fir_frac16(unsigned short N, unsigned short ntaps, short *x,
short *y, short *h);
Arguments:
Description:
Computes the real FIR filter on frac16 data. The input samples are stored in the array
x, output samples are written to the array y. There is used arithmetic with saturation.
Algorithm:
Equation 37
for each n from 0 to N-1
Note: The coefficients stored in the array h must be scaled to prevent a saturation, i.e. the
sum of the absolute values of all coefficients must be lower than 215:
Equation 38
The filter coefficients must be stored in reversed order.
Performance: See Section 7 and Table 54.
Example 23. fir_frac16
#include "libdsp2.h"
/* #pragma and ALIGN macros used to align to 4 bytes */
Table 23.
fir_frac16 arguments(1)
1.
The x,y,h data are in fractional 16-bit format in range -1 to 1. The arrays x, y must be word aligned,
the array h must be half-word aligned (implicit alignment of short data). There must be 2 bytes of
readable memory behind the array h and 4 bytes of readable memory behind the array 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)
yn

hk
 xn k

k0
=
ntaps
1
=
hk

k0
=
ntaps
1
2
15



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


링크 URL



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