/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : stm32f10x_it.c
* Author : MCD Application Team
* Date First Issued : 02/05/2007
* Description : Main Interrupt Service Routines.
* This file can be used to describe all the exceptions
* subroutines that may occur within user application.
* When an interrupt happens, the software will branch
* automatically to the corresponding routine.
* The following routines are all empty, user can write code
* for exceptions handlers and peripherals IRQ interrupts.
********************************************************************************
* History:
* 05/21/2007: V0.3
* 04/02/2007: V0.2
* 02/05/2007: V0.1
********************************************************************************
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/
/* Includes ------------------------------------------------------------------*/
#include "stm32f10x_it.h"
#include "stdio.h"
extern void TDMF_Decode(float decode_data);
extern void putstring(char *str);
extern void My_putchar(char ch);
extern float filter(float *b,int length_b,float ADC_CovnData);
extern int N_decode;
extern int next_code;
extern float b[];
int N_NextCode=0; //控制20ms后是否有下一个码值的
int time=0;//控制20ms的
/*
float filter_TestData[100]={0.506782,0.873767,0.999723,0.849903,0.465636,-0.047077,
-0.546804,-0.895694,-0.997506,-0.824154,-0.423458,0.094050,
0.585614,0.915635,0.993077,0.796577,0.380341,-0.140814,
-0.623124,-0.933545,-0.986446,-0.767234,-0.336380,0.187266,
0.659254,0.949385,0.977628,0.736190,0.291673,-0.233302,
-0.693921,-0.963120,-0.966642,-0.703513,-0.246320,0.278822,
0.727049,0.974720,0.953512,0.669276,0.200420,-0.323722,
-0.758566,-0.984157,-0.938268,-0.633555,-0.154076,0.367906,
0.788400,0.991413,0.920943,0.596430,0.107390,-0.411273,
-0.816486,-0.996470,-0.901576,-0.557981,-0.060466,0.453728,
0.842761,0.999317,0.880210,0.518296,0.013408,-0.495177,
-0.867168,-0.999949,-0.856892,-0.477461,0.033679,0.535529,
0.889651,0.998363,0.831674,0.435567,-0.080692,-0.574692,
-0.910162,-0.994563,-0.804612,-0.392707,0.127526,0.612581,
0.928655,0.988558,0.775765,0.348977,-0.174078,-0.649112,
-0.945088,-0.980360,-0.745198,-0.304472,0.220243,0.684204,
0.959426,0.969989,0.712979,0.259293};
float filter_TestOutData[101];
*/
/*
float encode_datatest[220]={532.000000,532.000000,532.000000,532.000000,532.000000,532.000000,
532.000000,532.000000,532.000000,1601.284278,1397.850830,1407.094458,
1578.497220,1820.608951,2028.004973,2111.455774,2023.411558,1772.134593,
1420.742732,1071.314190,838.059842,816.415478,1056.017751,1544.617037,
2207.272186,2921.345022,3543.829246,3944.413535,4036.184370,3796.401335,
3272.198651,2569.777999,1829.730443,1194.540049,776.224175,631.981297,
753.671889,1073.469119,1483.963670,1867.410682,2126.569447,2209.266861,
2120.487519,1919.028149,1699.728819,1565.999110,1599.854434,1837.332005,
2255.800799,2776.656486,3282.965303,3647.783996,3766.109331,3582.406087,
3106.687535,2414.925878,1633.451857,910.989599,385.063505,150.931575,
240.586564,616.875512,1184.043605,1811.948752,2367.835668,2747.742015,
2899.784930,2833.693083,2614.467818,2342.085812,2122.676997,2038.737088,
2126.130175,2363.857534,2679.268450,2967.405959,3119.526600,3053.436974,
2737.762138,2203.740264,1541.255660,879.794321,358.831313,94.871068,
153.272583,531.866476,1160.486862,1916.618168,2653.377007,3233.008939,
3557.740320,3590.520051,3360.737566,2953.768338,2487.229003,2080.108492,
1822.656518,1754.630622,1857.305499,2061.094962,2266.630238,2373.694284,
2310.402981,2054.959139,1644.200844,1166.541992,740.904787,486.857122,
493.474503,794.857749,1358.642981,2090.634767,2854.679408,3503.080931,
3910.207122,4001.105972,3768.164581,3271.791212,2625.048567,1966.123785,
1425.497567,1095.927764,1012.582709,1148.048790,1423.157779,1730.587387,
1964.990169,2051.805998,1967.311388,1744.749391,1464.982494,1234.103318,
1153.810124,1292.249015,1662.958936,2217.541347,2854.219515,3440.423860,
3843.957418,3965.066129,3761.429731,3259.785099,2551.174266,1770.854480,
1067.704096,570.554586,359.624827,449.943487,790.644403,1280.063235,
1792.645280,2210.776912,2453.500564,2494.949072,2368.011261,2152.535485,
1951.328762,1860.315781,1940.698777,2200.433251,2589.940322,3013.321240,
3352.350449,3497.212669,3376.158950,2976.445164,2351.043268,1609.150364,
892.576100,343.645143,72.412051,131.204319,502.727003,1104.623242,
1809.324661,2474.260511,2974.966769,3232.976536,3231.741760,3016.884087,
2681.028617,2337.340768,2088.689968,2000.401452,2083.572471,2293.176785,
2541.362398,2722.432406,2742.981502,2549.307663,2144.875333,1593.109784,
1004.521541,511.155380,234.619313,255.647823,592.855422,1196.109616,
1956.350498,2729.609146,3369.450137,3759.970007,3841.348656,3621.808037,
3173.215484,2611.628090,2067.791624,1655.051668,1442.696948,1441.300651,
1603.528477,1839.928794,2045.411902,2129.424583,2041.914433,1788.284080,
1429.376051,1066.383168,814.468890,771.818873,};
*/
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
/*******************************************************************************
* Function Name : NMIException
* Description : This function handles NMI exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void NMIException(void)
{
}
/*******************************************************************************
* Function Name : HardFaultException
* Description : This function handles Hard Fault exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void HardFaultException(void)
{
}
/*******************************************************************************
* Function Name : MemManageException
* Description : This function handles Memory Manage exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void MemManageException(void)
{
}
/*******************************************************************************
* Function Name : BusFaultException
* Description : This function handles Bus Fault exception.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void BusFaultException(void)
{
}
/*******************************************************************************
* Function Name : UsageFaultException
* Description : This function handles Usage Fault exception.
* Input : None
* Output : None
* Return : None
*********************************
没有合适的资源?快使用搜索试试~ 我知道了~
基于stm32的DTMF信号软件解码
共34个文件
o:5个
c:4个
crf:4个
需积分: 5 3 下载量 166 浏览量
2023-03-16
15:21:49
上传
评论 2
收藏 378KB RAR 举报
温馨提示
DTMF信号通过stm32中的AD采样经fir滤波和goertze算法实解码
资源推荐
资源详情
资源评论
收起资源包目录
TDMF_decode.rar (34个子文件)
TDMF_decode
filter.c 2KB
TDMF_decode.lnp 353B
stm32f10x_it.o 227KB
TDMF_decode.plg 2KB
TDMF_decode.tra 1KB
tdmf_decode.o 176KB
TDMF_decode.map 131KB
filter.o 12KB
STM32F10x.s 11KB
TDMF_decode.Uv2 3KB
TDMF_decode.axf 211KB
TDMF_decode_Target 1.dep 228B
stm32f10x_it.d 2KB
filter.d 59B
filter.crf 7KB
TDMF_decode.htm 58KB
main.d 2KB
stm32f10x_it.crf 152KB
TDMF_decode_TDMF_decode.dep 6KB
main.o 191KB
STM32F10x.o 5KB
TDMF_decode.c 4KB
TDMF_decode_Uv2.Bak 3KB
stm32f10x_it.__i 189B
TDMF_decode_Opt.Bak 3KB
tdmf_decode.d 2KB
main.c 12KB
STM32F10x.lst 34KB
main.crf 160KB
TDMF_decode.Opt 3KB
tdmf_decode.crf 152KB
stm32f10x_it.c 28KB
TDMF_decode.sct 479B
TDMF_decode.hex 20KB
共 34 条
- 1
资源评论
hutian1993
- 粉丝: 1
- 资源: 149
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功