-
大小: 2.8MB文件類型: .rar金幣: 2下載: 3 次發布日期: 2023-09-10
- 語言: 其他
- 標簽: STM32F103ZET??max30102??心率??血氧濃度??
資源簡介
STM32F103ZET6單片機通過max30102模塊簡單測試心率和血氧濃度,串口顯示數據。

代碼片段和文件信息
/**?\file?algorithm.c?******************************************************
*
*?Project:?MAXREFDES117#
*?Filename:?algorithm.cpp
*?Description:?This?module?calculates?the?heart?rate/SpO2?level
*
*
*?--------------------------------------------------------------------
*
*?This?code?follows?the?following?naming?conventions:
*
*?char??????????????ch_pmod_value
*?char?(array)??????s_pmod_s_string[16]
*?float?????????????f_pmod_value
*?int32_t???????????n_pmod_value
*?int32_t?(array)???an_pmod_value[16]
*?int16_t???????????w_pmod_value
*?int16_t?(array)???aw_pmod_value[16]
*?uint16_t??????????uw_pmod_value
*?uint16_t?(array)??auw_pmod_value[16]
*?uint8_t???????????uch_pmod_value
*?uint8_t?(array)???auch_pmod_buffer[16]
*?uint32_t??????????un_pmod_value
*?int32_t?*?????????pn_pmod_value
*
*?-------------------------------------------------------------------------?*/
/*******************************************************************************
*?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.
*******************************************************************************
*/
#include?“algorithm.h“
const?uint16_t?auw_hamm[31]={?41????276????512????276?????41?};?//Hamm=??long16(512*?hamming(5)‘);
//uch_spo2_table?is?computed?as??-45.060*ratioAverage*?ratioAverage?+?30.354?*ratioAverage?+?94.845?;
const?uint8_t?uch_spo2_table[184]={?95?95?95?96?96?96?97?97?97?97?97?98?98?98?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????15831??2017-05-05?15:10??心率和血氧濃度32程序\APP\IIC\algorithm.c
?????文件???????3879??2019-01-13?16:29??心率和血氧濃度32程序\APP\IIC\algorithm.h
?????文件???????4816??2019-01-13?16:27??心率和血氧濃度32程序\APP\IIC\max30102.c
?????文件???????1096??2019-01-13?16:28??心率和血氧濃度32程序\APP\IIC\max30102.h
?????文件???????3499??2019-01-13?16:20??心率和血氧濃度32程序\APP\IIC\myiic.c
?????文件???????4049??2019-01-13?16:18??心率和血氧濃度32程序\APP\IIC\myiic.c.orig
?????文件???????1358??2019-01-13?16:21??心率和血氧濃度32程序\APP\IIC\myiic.h
?????文件????????763??2018-06-22?13:17??心率和血氧濃度32程序\APP\led\led.c
?????文件????????379??2019-01-13?16:43??心率和血氧濃度32程序\APP\led\led.h
?????文件???????1753??2018-06-22?13:17??心率和血氧濃度32程序\APP\time\time.c
?????文件????????103??2018-06-22?13:17??心率和血氧濃度32程序\APP\time\time.h
?????文件??????73299??2019-01-13?16:48??心率和血氧濃度32程序\Jli
?????文件????????671??2018-11-18?10:32??心率和血氧濃度32程序\Jli
?????文件????????399??2018-06-22?13:12??心率和血氧濃度32程序\keilkilll.bat
?????文件??????17273??2018-06-22?13:17??心率和血氧濃度32程序\Libraries\CMSIS\core_cm3.c
?????文件??????85714??2018-06-22?13:17??心率和血氧濃度32程序\Libraries\CMSIS\core_cm3.h
?????文件??????15503??2018-06-22?13:17??心率和血氧濃度32程序\Libraries\CMSIS\startup_stm32f10x_hd.s
?????文件??????36557??2018-06-22?13:17??心率和血氧濃度32程序\Libraries\CMSIS\system_stm32f10x.c
?????文件???????2085??2018-06-22?13:17??心率和血氧濃度32程序\Libraries\CMSIS\system_stm32f10x.h
?????文件???????8982??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h
?????文件??????21690??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc(1).h
?????文件???????7555??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h
?????文件??????27559??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h
?????文件???????6573??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h
?????文件???????2162??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h
?????文件??????15233??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h
?????文件???????3818??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h
?????文件??????20754??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h
?????文件???????6824??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h
?????文件??????25445??2018-06-22?13:21??心率和血氧濃度32程序\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h
............此處省略135個文件信息
評論
共有 條評論