资源简介
STM32F103VET6驱动超声波测距模块HC-SR04,代码比较简陋,还望各位大佬多多赐教
非VIP慎重下载
代码片段和文件信息
/******************************************************************************
* @file: core_cm3.c
* @purpose: CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version: V1.10
* @date: 24. Feb. 2009
*----------------------------------------------------------------------------
*
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* ARM Limited (ARM) is supplying this software for use with Cortex-Mx
* processor based microcontrollers. This file can be freely distributed
* within development tools that are supporting such ARM based processors.
*
* THIS SOFTWARE IS PROVIDED “AS IS“. NO WARRANTIES WHETHER EXPRESS IMPLIED
* OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
* ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
* CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
*
******************************************************************************/
#include
/* define compiler specific symbols */
#if defined ( __CC_ARM )
#define __ASM __asm /*!< asm keyword for armcc */
#define __INLINE __inline /*!< inline keyword for armcc */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for iarcc */
#define __INLINE inline /*!< inline keyword for iarcc. Only avaiable in High optimization mode! */
#define __nop __no_operation /*!< no operation intrinsic in iarcc */
#elif defined ( __GNUC__ )
#define __ASM asm /*!< asm keyword for gcc */
#define __INLINE inline /*!< inline keyword for gcc */
#endif
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/**
* @brief Return the Process Stack Pointer
*
* @param none
* @return uint32_t ProcessStackPointer
*
* Return the actual process stack pointer
*/
__ASM uint32_t __get_PSP(void)
{
mrs r0 psp
bx lr
}
/**
* @brief Set the Process Stack Pointer
*
* @param uint32_t Process Stack Pointer
* @return none
*
* Assign the value ProcessStackPointer to the MSP
* (process stack pointer) Cortex processor register
*/
__ASM void __set_PSP(uint32_t topOfProcStack)
{
msr psp r0
bx lr
}
/**
* @brief Return the Main Stack Pointer
*
* @param none
* @return uint32_t Main Stack Pointer
*
* Return the current value of the MSP (main stack pointer)
* Cortex processor register
*/
__ASM uint32_t __get_MSP(void)
{
mrs r0 msp
bx lr
}
/**
* @brief Set the Main Stack Pointer
*
* @param uint32_t Main Stack Pointer
* @return none
*
* Assign the value mainStackPointer to the MSP
* (main stack pointer) Cortex processor register
*/
__ASM void __set_MSP(uint32_t mainStackP
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 16249 2009-04-06 10:30 HC_SR04\CMSIS\core_cm3.c
文件 36557 2016-11-11 11:18 HC_SR04\CMSIS\system_stm32f10x.c
文件 296 2019-07-21 16:47 HC_SR04\DOC\readme.txt
文件 15766 2016-11-11 11:18 HC_SR04\LIBRARIES\ARM\startup_stm32f10x_cl.s
文件 15503 2016-11-11 11:18 HC_SR04\LIBRARIES\ARM\startup_stm32f10x_hd.s
文件 15692 2016-11-11 11:18 HC_SR04\LIBRARIES\ARM\startup_stm32f10x_hd_vl.s
文件 12376 2016-11-11 11:18 HC_SR04\LIBRARIES\ARM\startup_stm32f10x_ld.s
文件 13656 2016-11-11 11:18 HC_SR04\LIBRARIES\ARM\startup_stm32f10x_ld_vl.s
文件 12765 2016-11-11 11:18 HC_SR04\LIBRARIES\ARM\startup_stm32f10x_md.s
文件 14073 2016-11-11 11:18 HC_SR04\LIBRARIES\ARM\startup_stm32f10x_md_vl.s
文件 15955 2016-11-11 11:18 HC_SR04\LIBRARIES\ARM\startup_stm32f10x_xl.s
文件 3347 2013-11-07 15:55 HC_SR04\LIBRARIES\ARM\STM32F1xx_OPT.s
文件 28208 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\cmsis_armcc.h
文件 56497 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\cmsis_armclang.h
文件 9014 2018-07-25 17:32 HC_SR04\LIBRARIES\Core\Include\cmsis_compiler.h
文件 62344 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\cmsis_gcc.h
文件 28414 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\cmsis_iccarm.h
文件 1716 2018-06-12 11:31 HC_SR04\LIBRARIES\Core\Include\cmsis_version.h
文件 97995 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_armv8mbl.h
文件 168914 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_armv8mml.h
文件 42208 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_cm0.h
文件 50464 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_cm0plus.h
文件 43456 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_cm1.h
文件 104628 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_cm23.h
文件 111854 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_cm3.h
文件 175600 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_cm33.h
文件 123607 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_cm4.h
文件 148588 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_cm7.h
文件 47249 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_sc000.h
文件 110523 2018-08-01 16:34 HC_SR04\LIBRARIES\Core\Include\core_sc300.h
............此处省略279个文件信息
相关资源
- STM32HC-SR04程序
- STM32F103VE_Sonic HC-SR04超声波模块程序
- hc-sr04超声波测距
- 基于STM32的超声波测距程序
- HC-SR04超声波模块+STM32F103
- 基于STM32F103ZET6芯片的超声波模块HC-
- STM32F103VET6启航开发板例程集.rar
- STM32超声波测距代码-HC-SR04.zip
- HC-SR04超声波测距显示LED灯闪烁
- STM32F10X 和HC-SR04 测距
- LCD12864串行显示DS18B20温度和超声波测
- 嵌入式linux之mini2440的hc-sr04超声波驱动
- 超声模块HC-SR04说明及例程
- 基于HC-SR04超声波测距LCD12864显示源码
- MSP430G2*单片机利用HC-SR04测距
- STM32F103VET6最小系统板原理图
- STM32F103VET6原理图和pcb.rar
- stm32f103rc_hcsr04.rar
- STM32f103vET6 最小系统原理图
- 基于AD绘制的STM32F103VET6最小系统板
- HC-SR04超声波测距模块及原理图
- STM32F103VET6原理图和pcb
- HC-SR04 超声波测距C51程序,精度2MM
- HC-SR04+89C52RC+11.0592Mhz高精度驱动程序
- STC15/STC15F2K60S2/STC15W4K32S4系列读取超声
- 51单片机超声波测距HC-SR04程序
- CC2530与HC-SR04超声波模块通信
- STM32F103VET6 CAN总线通信程序
- STM32F103VET6原理图库文件
- HC-SR04超声波测距模块+OLED12864显示
评论
共有 条评论