資源簡介
這是一個STM32F103心率傳感器模塊程序,供大家參考。
代碼片段和文件信息
/**
??******************************************************************************
??*?@file????system_stm32f1xx.c
??*?@author??MCD?Application?Team
??*?@version?V4.0.2
??*?@date????18-December-2015
??*?@brief???CMSIS?Cortex-M3?Device?Peripheral?Access?layer?System?Source?File.
??*?
??*?1.??This?file?provides?two?functions?and?one?global?variable?to?be?called?from?
??*?????user?application:
??*??????-?SystemInit():?Setups?the?system?clock?(System?clock?source?PLL?Multiplier
??*??????????????????????factors?AHB/APBx?prescalers?and?Flash?settings).?
??*??????????????????????This?function?is?called?at?startup?just?after?reset?and?
??*??????????????????????before?branch?to?main?program.?This?call?is?made?inside
??*??????????????????????the?“startup_stm32f1xx_xx.s“?file.
??*
??*??????-?SystemCoreClock?variable:?Contains?the?core?clock?(HCLK)?it?can?be?used
??*??????????????????????????????????by?the?user?application?to?setup?the?SysTick?
??*??????????????????????????????????timer?or?configure?other?parameters.
??*?????????????????????????????????????
??*??????-?SystemCoreClockUpdate():?Updates?the?variable?SystemCoreClock?and?must
??*?????????????????????????????????be?called?whenever?the?core?clock?is?changed
??*?????????????????????????????????during?program?execution.
??*
??*?2.?After?each?device?reset?the?HSI?(8?MHz)?is?used?as?system?clock?source.
??*????Then?SystemInit()?function?is?called?in?“startup_stm32f1xx_xx.s“?file?to
??*????configure?the?system?clock?before?to?branch?to?main?program.
??*
??*?4.?The?default?value?of?HSE?crystal?is?set?to?8?MHz?(or?25?MHz?depending?on
??*????the?product?used)?refer?to?“HSE_VALUE“.?
??*????When?HSE?is?used?as?system?clock?source?directly?or?through?PLL?and?you
??*????are?using?different?crystal?you?have?to?adapt?the?HSE?value?to?your?own
??*????configuration.
??*????????
??******************************************************************************
??*?@attention
??*
??*?©?COPYRIGHT(c)?2015?STMicroelectronics
??*
??*?Redistribution?and?use?in?source?and?binary?forms?with?or?without?modification
??*?are?permitted?provided?that?the?following?conditions?are?met:
??*???1.?Redistributions?of?source?code?must?retain?the?above?copyright?notice
??*??????this?list?of?conditions?and?the?following?disclaimer.
??*???2.?Redistributions?in?binary?form?must?reproduce?the?above?copyright?notice
??*??????this?list?of?conditions?and?the?following?disclaimer?in?the?documentation
??*??????and/or?other?materials?provided?with?the?distribution.
??*???3.?Neither?the?name?of?STMicroelectronics?nor?the?names?of?its?contributors
??*??????may?be?used?to?endorse?or?promote?products?derived?from?this?software
??*??????without?specific?prior?written?permission.
??*
??*?THIS?SOFTWARE?IS?PROVIDED?BY?THE?COPYRIGHT?HOLDERS?AND?CONTRIBUTORS?“AS?IS“
??*?AND?ANY?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT?LIMITED?TO?THE
??*?IMPLIED?WARRAN
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????6920??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\.mxproject
?????文件?????218386??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_1.jpg
?????文件?????259324??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_10.jpg
?????文件?????243444??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_11.jpg
?????文件?????386283??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_12.jpg
?????文件?????269362??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_2.jpg
?????文件?????229927??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_3.jpg
?????文件?????295772??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_4.jpg
?????文件?????304198??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_5.jpg
?????文件?????258516??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_6.jpg
?????文件?????253614??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_7.jpg
?????文件?????223048??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_8.jpg
?????文件?????219466??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\CubeMX_9.jpg
?????文件?????298619??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xb.h
?????文件?????326186??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xe.h
?????文件?????270209??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101x6.h
?????文件?????276254??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xb.h
?????文件?????325132??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xe.h
?????文件?????334976??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xg.h
?????文件?????327925??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102x6.h
?????文件?????333577??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102xb.h
?????文件?????452448??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103x6.h
?????文件?????458493??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xb.h
?????文件?????513215??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xe.h
?????文件?????520434??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xg.h
?????文件?????596742??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f105xc.h
?????文件?????633344??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f107xc.h
?????文件???????8814??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h
?????文件???????3180??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h
?????文件??????15097??2016-08-04?22:52??YSF1_HAL-123.?心率傳感器模塊(LCD顯示)\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xb.s
............此處省略582個文件信息
- 上一篇:基于STM32F1的OLED7線例程
- 下一篇:MH-Z14A二氧化碳傳感器模塊
評論
共有 條評論