⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 project.h

📁 利用zigbee进行定位的程序
💻 H
字号:
//----------------------------------------------------////-------Institute Of  Computing Technology-----------////------------Chinese Academic  Science---------------////-----中国科学院计算技术研究所先进测试技术实验室-----////----------------------------------------------------///** * www.wsn.net.cn * @copyright:nbicc_lpp * @data:2005.11.22 * @version:0.0.1 * @updata:$ * */#ifndef rfj_H#define rfj_H//#include "top.h"//------------系统中数据最基本的定义-----------------------typedef signed char int8_t;typedef unsigned char uint8_t;typedef int int16_t;typedef unsigned int uint16_t;typedef long int32_t;typedef unsigned long uint32_t;typedef long long int64_t;typedef unsigned long long uint64_t;typedef int16_t intptr_t;typedef uint16_t uintptr_t;typedef unsigned int size_t;typedef int wchar_t;//--------------------------------------------------------------------typedef int (*_compar_fn_t)(const void *, const void *);typedef unsigned char bool; enum  {  FALSE = 0,   TRUE = 1};enum  {  FAIL = 0,   SUCCESS = 1};enum  {  NULL = 0x0};enum  {  TIMER_REPEAT = 0,   TIMER_ONE_SHOT = 1,   NUM_TIMERS = 2};enum  {  LedsC_RED_BIT = 1,   LedsC_GREEN_BIT = 2,   LedsC_YELLOW_BIT = 4};enum  {  Timer0_maxTimerInterval = 230}; typedef struct _demo_addressfield{  uint16_t destination_pan;  uint16_t destination_address;  uint16_t source_pan;  uint16_t source_address;} demo_addressfield;typedef struct _demo_datapacket{  uint8_t length;  uint16_t fcf;  uint8_t dsn;  demo_addressfield address;  uint16_t  payload[10]; } demo_datapacket;//-------------------------------//-------------------------------//储存采集量的临时//-------------------------------//-------------------------------uint16_t payload;uint8_t rssi[1003];uint8_t isready;uint8_t testnum;uint16_t pagenum;uint8_t * prssi;uint8_t test[264];uint16_t tend;//-------------------------------//-------------------------------#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -