资源简介
通过在IAR软件上采用C语言编写ZigBee的超声波测距程序,通过串口通信能够在串口调试助手上显示距离。
代码片段和文件信息
/**************************************************************************************************
Filename: hal_assert.c
Revised: $Date: 2010-11-22 08:13:43 -0800 (Mon 22 Nov 2010) $
Revision: $Revision: 24480 $
Description: Describe the purpose and contents of the file.
Copyright 2006-2010 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software his/her employer (which must be your employer)
and Texas Instruments Incorporated (the “License“). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use and you acknowledge that the Software may not be modified
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver which is integrated into your product. Other than for
the foregoing purpose you may not use reproduce copy prepare derivative
works of modify distribute perform display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED 揂S IS?WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED
INCLUDING WITHOUT LIMITATION ANY WARRANTY OF MERCHANTABILITY title
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT
NEGLIGENCE STRICT LIABILITY CONTRIBUTION BREACH OF WARRANTY OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL SPECIAL INDIRECT PUNITIVE
OR CONSEQUENTIAL DAMAGES LOST PROFITS OR LOST DATA COST OF PROCUREMENT
OF SUBSTITUTE GOODS TECHNOLOGY SERVICES OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF) OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/* ------------------------------------------------------------------------------------------------
* Includes
* ------------------------------------------------------------------------------------------------
*/
#include “hal_assert.h“
#include “hal_types.h“
#include “hal_board.h“
#include “hal_defs.h“
#include “hal_mcu.h“
#if (defined HAL_MCU_AVR) || (defined HAL_MCU_CC2430) || (defined HAL_MCU_CC2530) || \
(defined HAL_MCU_CC2533) || (defined HAL_MCU_MSP430)
/* for access to debug data */
#include “mac_rx.h“
#include “mac_tx.h“
#endif
/* -------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 741051 2016-05-18 11:38 15_ZigBee组网实验说明-超声波传感器.pdf
目录 0 2018-12-22 13:37 ZStack-CC2530-2.5.1a-ultrasonic\
目录 0 2018-12-22 13:36 ZStack-CC2530-2.5.1a-ultrasonic\Components\
目录 0 2018-12-22 13:36 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\
目录 0 2018-12-22 13:36 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\common\
文件 9887 2010-11-22 09:13 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\common\hal_assert.c
文件 9560 2010-10-05 11:47 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\common\hal_drivers.c
目录 0 2018-12-22 13:36 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\
文件 6175 2010-02-25 16:22 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_adc.h
文件 5478 2009-02-16 19:03 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_assert.h
文件 28 2006-11-01 12:24 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_board.h
文件 2790 2008-10-07 16:36 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_ccm.h
文件 4969 2008-10-07 14:47 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_defs.h
文件 4789 2010-10-05 11:47 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_drivers.h
文件 4964 2010-04-09 15:22 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_flash.h
文件 5809 2007-11-01 08:43 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_key.h
文件 5735 2008-07-07 13:37 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_lcd.h
文件 4288 2007-11-01 08:43 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_led.h
文件 3279 2012-03-02 16:52 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_sleep.h
文件 8980 2010-06-02 10:40 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_timer.h
文件 7987 2009-03-09 05:27 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\include\hal_uart.h
目录 0 2018-12-22 13:36 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\target\
目录 0 2018-12-22 13:36 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\target\CC2530EB\
文件 9144 2010-03-12 17:10 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\target\CC2530EB\hal_adc.c
文件 5185 2010-01-08 14:24 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\target\CC2530EB\hal_aes.h
文件 20991 2016-05-04 17:07 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\target\CC2530EB\hal_board_cfg.h
文件 5541 2010-07-21 16:20 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\target\CC2530EB\hal_dma.c
文件 12798 2011-05-31 11:57 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\target\CC2530EB\hal_dma.h
文件 6704 2010-10-07 02:19 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\target\CC2530EB\hal_flash.c
文件 16711 2014-04-02 16:39 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\target\CC2530EB\hal_key.c
文件 25666 2014-02-08 11:56 ZStack-CC2530-2.5.1a-ultrasonic\Components\hal\target\CC2530EB\hal_lcd.c
............此处省略972个文件信息
评论
共有 条评论