91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.6MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-08-14
  • 語言: 其他
  • 標簽: stm32??

資源簡介

基于stm32f103vc的超聲波測距,使用hc-sr04模塊,完整代碼。

資源截圖

代碼片段和文件信息

/**
??******************************************************************************
??*?@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
??*?@{
??*

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-12-02?21:30??Listings\
?????文件???????53840??2016-12-03?20:29??Listings\startup_stm32f10x_hd.lst
?????文件???????77922??2016-12-03?20:29??Listings\TIM.map
?????目錄???????????0??2016-12-03?20:29??objects\
?????文件??????293072??2016-12-03?20:28??objects\delay.crf
?????文件????????1664??2016-12-03?20:28??objects\delay.d
?????文件??????315800??2016-12-03?20:28??objects\delay.o
?????文件??????????19??2016-12-03?20:39??objects\ExtDll.iex
?????文件??????297857??2016-12-03?20:29??objects\gpio_stm32f10x.crf
?????文件????????1966??2016-12-03?20:29??objects\gpio_stm32f10x.d
?????文件??????318576??2016-12-03?20:29??objects\gpio_stm32f10x.o
?????文件??????293800??2016-12-03?20:28??objects\initial.crf
?????文件????????1701??2016-12-03?20:28??objects\initial.d
?????文件??????319620??2016-12-03?20:28??objects\initial.o
?????文件??????292053??2016-12-03?20:28??objects\main.crf
?????文件????????1558??2016-12-03?20:28??objects\main.d
?????文件??????314008??2016-12-03?20:28??objects\main.o
?????文件??????292271??2016-12-03?20:28??objects\misc.crf
?????文件????????1725??2016-12-03?20:28??objects\misc.d
?????文件??????316108??2016-12-03?20:28??objects\misc.o
?????文件??????????81??2016-12-03?20:29??objects\startup_stm32f10x_hd.d
?????文件????????6708??2016-12-03?20:29??objects\startup_stm32f10x_hd.o
?????文件??????292825??2016-12-03?20:28??objects\stm32f10x_exti.crf
?????文件????????1925??2016-12-03?20:28??objects\stm32f10x_exti.d
?????文件??????320544??2016-12-03?20:28??objects\stm32f10x_exti.o
?????文件??????299289??2016-12-03?20:28??objects\stm32f10x_flash.crf
?????文件????????1945??2016-12-03?20:28??objects\stm32f10x_flash.d
?????文件??????353756??2016-12-03?20:28??objects\stm32f10x_flash.o
?????文件??????295769??2016-12-03?20:28??objects\stm32f10x_gpio.crf
?????文件????????1925??2016-12-03?20:28??objects\stm32f10x_gpio.d
?????文件??????337408??2016-12-03?20:28??objects\stm32f10x_gpio.o
............此處省略61個文件信息

評論

共有 條評論