資源簡介
博雅工道的競賽魚源代碼,使用keil5軟件,C語言編譯。

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????system_stm32f10x.c
??*?@author??MCD?Application?Team
??*?@version?V3.5.0
??*?@date????11-March-2011
??*?@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_stm32f10x_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_stm32f10x_xx.s“?file?to
??*????configure?the?system?clock?before?to?branch?to?main?program.
??*
??*?3.?If?the?system?clock?source?selected?by?user?fails?to?startup?the?SystemInit()
??*????function?will?do?nothing?and?HSI?still?used?as?system?clock?source.?User?can?
??*????add?some?code?to?deal?with?this?issue?inside?the?SetSysClock()?function.
??*
??*?4.?The?default?value?of?HSE?crystal?is?set?to?8?MHz?(or?25?MHz?depedning?on
??*????the?product?used)?refer?to?“HSE_VALUE“?define?in?“stm32f10x.h“?file.?
??*????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
??*
??*?THE?PRESENT?FIRMWARE?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?FIRMWARE?AND/OR?THE?USE?MADE?BY?CUSTOMERS?OF?THE
??*?CODING?INFORMATION?CONTAINED?HEREIN?IN?CONNECTION?WITH?THEIR?PRODUCTS.
??*
??*?©?COPYRIGHT?2011?STMicroelectronics
??******************************************************************************
??*/
/**?@addtogroup?CMSIS
??*?@{
??*/
/**?@addtogroup?stm32f10x_system
??*?@{
??*
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????272948??2018-04-25?23:15??Listing\FISH.map
?????文件??????53638??2018-04-25?23:15??Listing\startup_stm32f10x_hd.lst
?????文件?????407559??2018-04-25?23:15??Output\demo.crf
?????文件???????2907??2018-04-25?23:15??Output\demo.d
?????文件?????455672??2018-04-25?23:15??Output\demo.o
?????文件?????898000??2018-04-25?23:15??Output\FISH.axf
?????文件??????73328??2018-04-25?23:15??Output\FISH.bin
?????文件???????2625??2018-04-25?23:15??Output\FISH.build_log.htm
?????文件?????206303??2018-04-25?23:15??Output\FISH.hex
?????文件?????302649??2018-04-25?23:15??Output\FISH.htm
?????文件????????473??2018-04-25?23:15??Output\FISH.lnp
?????文件???????8728??2018-04-25?23:15??Output\FISH_RoBSeaFish.dep
?????文件?????407070??2018-04-25?23:15??Output\main.crf
?????文件???????2907??2018-04-25?23:15??Output\main.d
?????文件?????454260??2018-04-25?23:15??Output\main.o
?????文件?????????80??2018-04-25?23:15??Output\startup_stm32f10x_hd.d
?????文件???????6728??2018-04-25?23:15??Output\startup_stm32f10x_hd.o
?????文件?????349706??2018-04-25?23:15??Output\system_stm32f10x.crf
?????文件???????1624??2018-04-25?23:15??Output\system_stm32f10x.d
?????文件?????381068??2018-04-25?23:15??Output\system_stm32f10x.o
?????文件??????58857??2015-10-08?07:42??RTE\Device\STM32F103RC\RTE_Device.h
?????文件??????15503??2012-01-24?12:06??RTE\Device\STM32F103RC\startup_stm32f10x_hd.s
?????文件??????36557??2012-01-24?12:06??RTE\Device\STM32F103RC\system_stm32f10x.c
?????文件????????346??2018-04-14?19:55??RTE\_RoBSeaFish\RTE_Components.h
?????文件????????593??2017-04-04?12:17??USER\adc.h
?????文件????????550??2017-05-06?14:49??USER\adrc.h
?????文件???????1542??2017-08-28?15:24??USER\antiShake.h
?????文件???????1035??2017-09-02?19:30??USER\aotuMotion.h
?????文件???????1265??2017-04-03?20:33??USER\as5048a.h
?????文件????????516??2017-08-21?11:08??USER\battery.h
............此處省略108個文件信息
評論
共有 條評論