protconfig.h

来自「nRF24E1 sample xBee development」· C头文件 代码 · 共 32 行

H
32
字号
/************************************************************************************
* Header file containing model for ProtectedConfig structure to access unique 64-bit 
* serial number.
*
* (c) Copyright 2006, MaxStream, Inc.
*
************************************************************************************/

#ifndef _PROTCONFIG_H_
#define _PROTCONFIG_H_

#include "ZComDef.h"


#define PROTECTED_CONFIG_ADDR 0xFFEA

typedef struct {
   uint8 hardwareVersion_LSB;  //1 byte
   uint8 hardwareVersion_MSB; 
   uint8 hardwareRevision_LSB;
   uint8 hardwareRevision_MSB;
   uint8 softwareCompatibility;
   ZLongAddr_t serialNumber;
}_ProtectedConfig;

//Structure for accessing the unique 64-bit serial number programmed into the 
//MaxStream Bootloader.  

extern _ProtectedConfig ProtectedConfig @PROTECTED_CONFIG_ADDR;


#endif

⌨️ 快捷键说明

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