资源简介
基于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 ob
文件 293072 2016-12-03 20:28 ob
文件 1664 2016-12-03 20:28 ob
文件 315800 2016-12-03 20:28 ob
文件 19 2016-12-03 20:39 ob
文件 297857 2016-12-03 20:29 ob
文件 1966 2016-12-03 20:29 ob
文件 318576 2016-12-03 20:29 ob
文件 293800 2016-12-03 20:28 ob
文件 1701 2016-12-03 20:28 ob
文件 319620 2016-12-03 20:28 ob
文件 292053 2016-12-03 20:28 ob
文件 1558 2016-12-03 20:28 ob
文件 314008 2016-12-03 20:28 ob
文件 292271 2016-12-03 20:28 ob
文件 1725 2016-12-03 20:28 ob
文件 316108 2016-12-03 20:28 ob
文件 81 2016-12-03 20:29 ob
文件 6708 2016-12-03 20:29 ob
文件 292825 2016-12-03 20:28 ob
文件 1925 2016-12-03 20:28 ob
文件 320544 2016-12-03 20:28 ob
文件 299289 2016-12-03 20:28 ob
文件 1945 2016-12-03 20:28 ob
文件 353756 2016-12-03 20:28 ob
文件 295769 2016-12-03 20:28 ob
文件 1925 2016-12-03 20:28 ob
文件 337408 2016-12-03 20:28 ob
............此处省略61个文件信息
- 上一篇:LR(0)文法分析演示程序
- 下一篇:超级模块9.2正式版
相关资源
- STM32 语音模块资料
- MS5837水深传感器-stm32程序源码
- STM32F103 SX1278通讯程序
- STM32F103C8T6定时器秒表TM1650显示.rar
- ULN2003驱动28BYJ-48步进电机STM32F103库函
- stm32sk6812灯带
- stm32+ov7670+颜色识别追踪
- STM32F0工程模板
- 基于STM32室内温度报警控制系统设计
- STM32F103串口使用空闲IDLE中断接收不定
- STM32+USB+W25Q实现U盘程序
- BQ40Z50通讯正常-基于STM32F0.rar
- 基于STM32单片机的窗帘自动控制系统设
- STM32_ADC+TIM+DMA
- lsm303dlhc Stm32f103 驱动程序
- 基于MQ135+STM32的环境空气质量检测
- STM32编码器程序
- ARM stm32f407 开发板原理图及 PCB图
- STM32驱动12864点阵LCD,多级菜单,完整
- 基于LABVIEW的STM32F0多路数据采集系统源
- STM32红外遥控解码程序解码后的按键值
- STM32升降桌控制霍尔电机,PID调速
- STM32F103R LCD显示汉字.rar
- stm32f103zet6矩阵键盘(4x4)实现数字密
- stm32f072 can 通讯代码
- STM32Mini开发板HCSR-04C超声波程序
- STM32F103硬件i2c读取bmp085串口输出
- STM32F103ZET6_USB_自定义BULK
- STM32F103 CAN端口主从收发驱动例程
- STM32搭载RTOS实现任务+消息队列+串口通
评论
共有 条评论