資源簡介
這是一個STM32F1的GPS模塊程序,使用的HAL庫,分享給大家。。
代碼片段和文件信息
/**
??******************************************************************************
??*?@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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????6621??2016-06-04?00:03??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\.mxproject
?????文件?????253336??2016-06-04?00:20??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\CubeMX_1.jpg
?????文件?????178501??2016-06-04?00:24??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\CubeMX_10.jpg
?????文件?????246222??2016-06-04?00:20??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\CubeMX_2.jpg
?????文件?????181628??2016-06-16?21:58??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\CubeMX_3.jpg
?????文件?????178138??2016-06-04?00:21??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\CubeMX_4.jpg
?????文件?????201945??2016-06-04?00:22??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\CubeMX_5.jpg
?????文件?????207404??2016-06-04?00:22??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\CubeMX_6.jpg
?????文件?????267504??2016-06-04?00:22??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\CubeMX_7.jpg
?????文件?????363163??2016-06-05?21:00??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\CubeMX_8.jpg
?????文件?????194868??2016-06-04?00:23??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\CubeMX_9.jpg
?????文件?????298619??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xb.h
?????文件?????326186??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xe.h
?????文件?????270209??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101x6.h
?????文件?????276254??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xb.h
?????文件?????325132??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xe.h
?????文件?????334976??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xg.h
?????文件?????327925??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102x6.h
?????文件?????333577??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102xb.h
?????文件?????452448??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103x6.h
?????文件?????458493??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xb.h
?????文件?????513215??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xe.h
?????文件?????520434??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xg.h
?????文件?????596742??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f105xc.h
?????文件?????633344??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f107xc.h
?????文件???????8814??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h
?????文件???????3180??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h
?????文件??????15097??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xb.s
?????文件??????16685??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xe.s
?????文件??????12534??2016-04-18?17:52??YSF1_HAL-122.?GPS模塊NEO-7M\1.?GPS-SDCard\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101x6.s
............此處省略1877個文件信息
評論
共有 條評論