cc2530采集温度的完整程序


使用cc2530自带的温度传感器采集温度,并上传协调器,具有完整的终端结点,路由节点,协调器的功能,并具有多跳传输的能力。
资源截图
代码片段和文件信息
/**************************************************************************************************
  Filename:       hal_assert.c
  Revised:        $Date: 2010-01-07 10:10:43 -0800 (Thu 07 Jan 2010) $
  Revision:       $Revision: 21451 $

  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

/* -----------

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       9816  2010-01-07 10:10  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalcommonhal_assert.c

     文件       9190  2009-08-05 17:23  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalcommonhal_drivers.c

     文件       6829  2009-12-03 16:14  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_adc.h

     文件       5478  2009-02-16 18:03  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_assert.h

     文件         28  2006-11-01 11:24  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_board.h

     文件       2790  2008-10-07 15:36  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_ccm.h

     文件       4969  2008-10-07 13:47  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_defs.h

     文件       4701  2007-11-01 07:43  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_drivers.h

     文件       6735  2008-09-02 14:10  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_flash.h

     文件       5809  2007-11-01 07:43  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_key.h

     文件       5735  2008-07-07 12:37  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_lcd.h

     文件       4288  2007-11-01 07:43  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_led.h

     文件       3043  2007-11-01 07:43  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_sleep.h

     文件       8980  2007-11-01 07:43  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_timer.h

     文件       7987  2009-03-09 04:27  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshalincludehal_uart.h

     文件      12874  2009-12-17 13:13  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_adc.c

     文件       5185  2010-01-08 13:24  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_aes.h

     文件      19817  2010-01-05 14:40  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_board_cfg.h

     文件       5475  2009-08-05 17:23  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_dma.c

     文件      12742  2009-03-29 09:51  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_dma.h

     文件      10936  2009-08-13 17:47  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_flash.c

     文件      19104  2013-07-14 10:38  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_key.c

     文件      21792  2013-07-14 12:31  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_lcd.c

     文件      16518  2009-03-13 04:45  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_led.c

     文件       3516  2009-06-05 08:21  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_mac_cfg.h

     文件       8098  2009-03-18 09:57  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_mcu.h

     文件      18025  2009-07-21 09:50  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_oad.c

     文件       5252  2009-03-30 16:01  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_oad.h

     文件      20766  2009-10-21 16:53  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_sleep.c

     文件       4257  2009-03-12 15:25  ZStack-CC2530-2.3.0-1.4.0_OK_加入认证反馈11Componentshal argetCC2530EBhal_startup.c

............此处省略1189个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)