×

超声波输入捕获实现多路测距

消耗积分:5 | 格式:zip | 大小:3191KB | 2017-07-09

分享资料个

运用STM32F103ZET6微控制器实现多路超声波的测距,亲测有效。

  /**************************************************************************//**

  * @file core_cm3.h

  * @brief CMSIS Cortex-M3 Core Peripheral Access Layer Header File

  * @version V1.30

  * @date 30. October 2009

  *

  * @note

  * Copyright (C) 2009 ARM Limited. All rights reserved.

  *

  * @par

  * ARM Limited (ARM) is supplying this software for use with Cortex-M

  * processor based microcontrollers. This file can be freely distributed

  * within development tools that are supporting such ARM based processors.

  *

  * @par

  * 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.

  *

  ******************************************************************************/

  #ifndef __CM3_CORE_H__

  #define __CM3_CORE_H__

  /** @addtogroup CMSIS_CM3_core_LintCinfiguration CMSIS CM3 Core Lint Configuration

  *

  * List of Lint messages which will be suppressed and not shown:

  * - Error 10: \n

  * register uint32_t __regBasePri __asm(“basepri”); \n

  * Error 10: Expecting ‘;’

  * 。

  * - Error 530: \n

  * return(__regBasePri); \n

  * Warning 530: Symbol ‘__regBasePri’ (line 264) not initialized

  * 。

  * - Error 550: \n

  * __regBasePri = (basePri & 0x1ff); \n

  * Warning 550: Symbol ‘__regBasePri’ (line 271) not accessed

  * 。

  * - Error 754: \n

  * uint32_t RESERVED0[24]; \n

  * Info 754: local structure member ‘《some, not used in the HAL》’ (line 109, file 。/cm3_core.h) not referenced

  * 。

  * - Error 750: \n

  * #define __CM3_CORE_H__ \n

  * Info 750: local macro ‘__CM3_CORE_H__’ (line 43, file./cm3_core.h) not referenced

  * 。

  * - Error 528: \n

  * static __INLINE void NVIC_DisableIRQ(uint32_t IRQn) \n

  * Warning 528: Symbol ‘NVIC_DisableIRQ(unsigned int)’ (line 419, file 。/cm3_core.h) not referenced

  * 。

  * - Error 751: \n

  * } InterruptType_Type; \n

  * Info 751: local typedef ‘InterruptType_Type’ (line 170, file 。/cm3_core.h) not referenced

  * 。

  * Note: To re-enable a Message, insert a space before ‘lint’ *
超声波输入捕获实现多路测距

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !