protconfig.h

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

H
30
字号
/***********************************************************************
* 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 "DigiType.h"

#define PROTECTED_CONFIG_ADDR 0xFFEA

typedef struct {
   uint8_t hardwareVersion_LSB;  //1 byte
   uint8_t hardwareVersion_MSB; 
   uint8_t hardwareRevision_LSB;
   uint8_t hardwareRevision_MSB;
   uint8_t softwareCompatibility;
   uint8_t serialNumber[8];
}_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 + -
显示快捷键?