资源简介
基于STM32的max30102心率血氧 测试,MAX30102模块接口:PB9-SDA,PB8-SCL,PB7-INT PA2/PA3为串口传输口TX和RX,波特率设置为115200 PC13为显示LED

代码片段和文件信息
/** \file main.cpp ******************************************************
*
* Project: STM32F103C8T6+MAX30102
* Edited by Anning
* Shop website: https://shop108071095.taobao.com
* Email: anning865@126.com
* ------------------------------------------------------------------------- */
/*******************************************************************************
* Copyright (C) 2016 Maxim Integrated Products Inc. All Rights Reserved.
*
* Permission is hereby granted free of charge to any person obtaining a
* copy of this software and associated documentation files (the “Software“)
* to deal in the Software without restriction including without limitation
* the rights to use copy modify merge publish distribute sublicense
* and/or sell copies of the Software and to permit persons to whom the
* Software is furnished to do so subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS
* OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM DAMAGES
* OR OTHER LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE
* ARISING FROM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice the name of Maxim Integrated
* Products Inc. shall not be used except as stated in the Maxim Integrated
* Products Inc. Branding Policy.
*
* The mere transfer of this software does not imply any licenses
* of trade secrets proprietary technology copyrights patents
* trademarks maskwork rights or any other form of intellectual
* property whatsoever. Maxim Integrated Products Inc. retains all
* ownership rights.
*******************************************************************************
*/
/*!\mainpage Main Page
*
* \section intro_sec Introduction
*
* This is the code documentation for the MAXREFDES117# subsystem reference design.
*
* The Files page contains the File List page and the Globals page.
*
* The Globals page contains the Functions Variables and Macros sub-pages.
*
* \image html MAXREFDES117_Block_Diagram.png “MAXREFDES117# System Block Diagram“
*
* \image html MAXREFDES117_firmware_Flowchart.png “MAXREFDES117# Firmware Flowchart“
*
*/
#include “stm32f103c8t6.h“
#include “mbed.h“
#include “algorithm.h“
#include “MAX30102.h“
#define MAX_BRIGHTNESS 255
uint32_t aun_ir_buffer[500]; //IR LED sensor data
int32_t n_ir_buffer_length; //data length
uint32_t aun_red_buffer[500]; //Red LED sensor data
int32_t n_sp02; //SPO2 value
int8_t ch_spo2_valid; //indicator to show if the SP02 calculation is valid
int32_t n_heart_rate; //heart rate value
int8_t ch_hr_va
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7 2017-08-16 20:47 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\.mbed
文件 14447 2017-06-20 09:50 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\algorithm\algorithm.cpp
文件 5283 2017-06-20 09:50 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\algorithm\algorithm.h
文件 785809 2017-08-17 09:31 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\algorithm.crf
文件 10170 2017-08-17 09:31 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\algorithm.d
文件 845236 2017-08-17 09:31 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\algorithm.o
文件 19 2017-08-17 09:18 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\ExtDll.iex
文件 784776 2017-08-17 15:57 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\main.crf
文件 9575 2017-08-17 15:57 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\main.d
文件 857592 2017-08-17 15:57 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\main.o
文件 781240 2017-08-17 09:31 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\max30102.crf
文件 10022 2017-08-17 09:31 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\max30102.d
文件 844156 2017-08-17 09:31 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\max30102.o
文件 1332888 2017-08-17 15:57 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\Nucleo_MAX30102.axf
文件 2346 2017-08-17 15:57 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\Nucleo_MAX30102.build_log.htm
文件 226115 2017-08-17 15:57 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\Nucleo_MAX30102.htm
文件 6323 2017-08-17 15:57 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\Nucleo_MAX30102.lnp
文件 646112 2017-08-17 15:57 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\Nucleo_MAX30102.map
文件 66815 2017-08-17 15:57 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\Nucleo_MAX30102_Nucleo_MAX30102.dep
文件 779550 2017-08-17 09:31 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\sysclockconf.crf
文件 10626 2017-08-17 09:31 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\sysclockconf.d
文件 831232 2017-08-17 09:31 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\BUILD\sysclockconf.o
文件 6956 2015-12-10 17:06 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\DebugConfig\Nucleo_MAX30102_STM32F103C8_1.0.0.dbgconf
文件 6956 2015-12-10 17:06 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\DebugConfig\Nucleo_MAX30102_STM32F103RB_1.0.0.dbgconf
文件 339 2017-08-17 09:18 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\EventRecorderStub.scvd
文件 654 2017-08-16 20:47 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\GettingStarted.html
文件 446179 2017-08-17 15:58 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\Jli
文件 755 2017-08-17 09:15 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\Jli
文件 7937 2017-08-17 16:12 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\main.cpp
文件 7309 2017-08-17 16:12 MAX30102_uvision5_stm32f103c8\Nucleo_MAX30102\MAX30102\MAX30102.cpp
............此处省略343个文件信息
- 上一篇:改写的stm32嵌入式停车场赛题程序
- 下一篇:调用百度接口的人脸识别.net
相关资源
- STM32F103RC+ADC+DMA多通道采样LCD显示
- I2C读写AT24C02 基于STM32F103 cube116540
- 基于stm32f103ve的程序——跑马灯实验
- 基于STM32RCT6的步进电机驱动程序
- stm32f407上的两个can发送和接收例程
- STM32 led 时钟
- STM32 2.4G通信例程
- 直流无刷电机方波驱动 stm32 例程代码
- STM32中文资料
- STM32蓝牙和串口程序
- STM32f103超声波模块例程
- stm32f103c8t6 4 oled.rar
- stm32f030 IAP Demo(原创)
- STM32基于rt_thread操作系统的SDHC卡文件
- NRF24L01实现51与STM32双向通讯
- STM32F103 串口程序(完整版)
- stm32 ds18b20 温度传感器 测试通过
- stm32官方例程
- STM32F103定时器中断程序
- [免费]基于stm32f103ze 的OLED驱动代码
- STM32F103RBT6驱动UC1698控制芯片的160160黑
- STM32F103 DS18B20 V3.5.0固件库驱动程序工
- STM32定时器使用入门。看了这个程序会
- SIM908 SDIO FSMC STM32 FIFO
- STM32F103 CC2500完整驱动(模拟SPI)
- AD7606采集程序
- stm32 用SPI 方式读写 SDHC
- stm32通过DMA方式采集ADC数据
- 意法半导体STM全系列微控制器STM32ST
- 基于STM32芯片的SX1278 驱动 LORA.rar
评论
共有 条评论