• 大小: 178KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-11
  • 语言: C/C++
  • 标签: 滤波器  

资源简介

c语言实现iir滤波器,打包里面内容请自己看

资源截图

代码片段和文件信息

/*****************************************************************************/
/*                                                                           */
/* FILENAME                                                                  */
/*   bargraph.c                                                              */
/*                                                                           */
/* DEscriptION                                                               */
/*   TMS320C6713 DSK.                                                        */
/*   Configures four user LEDs as a bargraph display.                        */
/*   Different formats of display for mono audio stereo audio or power      */
/*   for use with Fast Fourier Transform (FFT).                              */
/*                                                                           */
/* REVISION                                                                  */
/*   Revision: 1.00                                                          */
/*   Author  : Richard Sikora                                                */
/*---------------------------------------------------------------------------*/
/*                                                                           */
/* HISTORY                                                                   */
/*                                                                           */
/*   Revision 1.00                                                           */
/*   8th August 2003. Created by Richard Sikora from TMS320C5510 DSK code.   */
/*                                                                           */
/*****************************************************************************/

#include “iir_filterscfg.h“

#include “dsk6713.h“
#include “dsk6713_led.h“


/*****************************************************************************/
/* Reference thresholds                                                      */
/*---------------------------------------------------------------------------*/
/*                                                                           */
/* 0 dB reference is taken to be 50% output level. This allows 6dB headroom  */
/* Other thresholds are -6dB -12dB and -18dB below the reference of 0dB.    */
/*                                                                           */ 
/*****************************************************************************/

#define LEVEL_0dB  0x4000
#define LEVEL_3dB  0x2D3F
#define LEVEL_6dB  0x2000
#define LEVEL_9dB  0x169F
#define LEVEL_12dB 0x1000
#define LEVEL_18dB 0x0800
#define LEVEL_24dB 0x0400
#define LEVEL_36dB 0x0100


/*****************************************************************************/
/* bargraph_3dB()                                                            */
/*---------------------------------------------------------------------------*/
/*                 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        6459  2005-08-20 21:16  iir_filterscfg.cmd
     文件         325  2005-08-24 19:49  cc_build_Debug.log
     文件       28164  2005-08-20 21:16  iir_filterscfg.s62
     文件        1131  2005-08-20 21:20  IIR_Filters.pjt
     文件       12791  2005-08-24 20:06  IIR_Filters.paf
     文件       38912  2004-06-26 18:04  TMS320C6713 DSK Problems and Fixes.doc
     文件       30720  2005-08-20 21:13  TMS320C6713 DSK Application IIR Filters.doc
     文件         881  2003-01-17 20:44  IIR_bs_22.m
     文件         881  2003-01-17 19:31  IIR_bs_21.m
     文件         881  2003-01-17 19:25  IIR_bs_20.m
     文件         881  2003-01-17 19:22  IIR_bs_19.m
     文件         881  2003-01-17 19:20  IIR_bs_18.m
     文件         881  2003-01-17 19:18  IIR_bs_17.m
     文件         880  2003-01-17 19:14  IIR_bs_16.m
     文件         881  2003-01-17 19:08  IIR_bs_15.m
     文件         885  2003-01-17 19:07  IIR_bs_14.m
     文件         887  2003-01-17 18:48  IIR_bs_13.m
     文件         885  2003-01-17 18:39  IIR_bs_12.m
     文件         884  2003-01-17 18:38  IIR_bs_11.m
     文件         884  2003-01-17 18:32  IIR_bs_10.m
     文件         872  2003-01-17 18:30  IIR_bs_9.m
     文件         873  2003-01-17 18:06  IIR_bs_8.m
     文件         870  2003-01-17 18:05  IIR_bs_7.m
     文件         872  2003-01-17 18:04  IIR_bs_6.m
     文件         871  2003-01-17 18:03  IIR_bs_5.m
     文件         871  2003-01-17 18:02  IIR_bs_4.m
     文件         870  2003-01-17 18:00  IIR_bs_3.m
     文件         872  2003-01-17 17:59  IIR_bs_02.m
     文件         872  2003-01-17 17:58  IIR_bs_01.m
     文件         909  2003-01-17 16:38  IIR_bp_21.m
     文件         909  2003-01-17 16:38  IIR_bp_20.m
............此处省略45个文件信息

评论

共有 条评论