xindian.rar
所属分类:处理器开发
开发工具:Visual C++
文件大小:1976KB
下载次数:140
上传日期:2010-11-20 10:59:06
上 传 者:
chang abby
说明: 捕获到人体心电信号后,用STM32编程显示波形程序
(After capturing the human ECG, waveform display program with STM32 programming)
文件列表:
心电图仪 (0, 2010-10-14)
心电图仪\ADC.Opt (3768, 2010-08-15)
心电图仪\ADC.Uv2 (2872, 2010-08-15)
心电图仪\ADC_ADC.dep (1011, 2010-10-21)
心电图仪\ADC_CAN.dep (8432, 2008-10-06)
心电图仪\ADC_Opt.Bak (3776, 2010-08-14)
心电图仪\ADC_Uv2.Bak (2872, 2010-08-14)
心电图仪\cortexm3_macro.s (10308, 2008-09-21)
心电图仪\FWLib (0, 2010-08-07)
心电图仪\FWLib\inc (0, 2010-08-07)
心电图仪\FWLib\inc\cortexm3_macro.h (2225, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_adc.h (18854, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_bkp.h (6911, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_can.h (12279, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_crc.h (1881, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_dac.h (9598, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_dbgmcu.h (2859, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_dma.h (17974, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_exti.h (5776, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_flash.h (13996, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_fsmc.h (19041, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_gpio.h (14820, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_i2c.h (16213, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_iwdg.h (3414, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_lib.h (3200, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_map.h (28290, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_nvic.h (19198, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_pwr.h (3865, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_rcc.h (14783, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_rtc.h (3619, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_sdio.h (18326, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_spi.h (13782, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_systick.h (3212, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_tim.h (47203, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_type.h (3388, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_usart.h (14395, 2008-09-23)
心电图仪\FWLib\inc\stm32f10x_wwdg.h (2620, 2008-09-23)
心电图仪\FWLib\src (0, 2010-08-07)
心电图仪\FWLib\src\stm32f10x_adc.c (58563, 2008-09-23)
心电图仪\FWLib\src\stm32f10x_bkp.c (11170, 2008-09-23)
... ...
(1) 在PC机上运行windows自带的超级终端串口通信程序(波特率115200、1位停止位、无校验位、无硬件流
控制);或者使用其它串口通信程序;
(2) 点击MDK 的Debug菜单,点击Start/Stop Debug Session;
(3) 旋转电位器RV1,可以看到串口输出数值不断变化,正常显示结果如下所示。
usart1 print AD_value --------------------------
The current AD value = 0x0425
The current AD value = 0x0423
The current AD value = 0x0421
The current AD value = 0x0422
The current AD value = 0x0420
The current AD value = 0x0416
The current AD value = 0x03B6
The current AD value = 0x0841
The current AD value = 0x08C3
The current AD value = 0x08C0
The current AD value = 0x08BE
The current AD value = 0x09E9
The current AD value = 0x0A12
The current AD value = 0x0ACA
The current AD value = 0x0B0D
The current AD value = 0x0B10
The current AD value = 0x0B0E
....
....
(4)若想通过ITM Viewer来观测Printf数据,则需要加入#define DBG_ITM,并允许ITM跟踪,
详见RTX_Blinky例的说明。本例程中只要取消#define DBG_ITM前的注释符号即可。
近期下载者:
相关文件:
收藏者: