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

📄 ztcconfiguration.h

📁 freescale的基于802.15.4的无线通讯例程
💻 H
字号:
/******************************************************************************
* This file exposes the services of ZTC Configuration module.
*
*
* (c) Copyright 2006, Freescale, Inc. All rights reserved.
*
* Freescale Semiconductor Confidential Proprietary
*
* No part of this document must be reproduced in any form - including copied,
* transcribed, printed or by any electronic means - without specific written
* permission from Freescale Semiconductor Danmark A/S.
*
******************************************************************************/
#if ( gZtcIncluded_d == 1  ) 

#ifndef _ZTCCONFIGURATION_H_
#define _ZTCCONFIGURATION_H_

/******************************************************************************
*******************************************************************************
* Public macros
*******************************************************************************
******************************************************************************/
/* ZTC packet format indices */
#define gOpcodeGrpIndex_c	    0x00		
#define gOpcodeIndex_c		    0x01  
#define gLengthIndex_c		    0x02
#define gDataIndex_c			    0x03
#define gHeaderSize_c			    0x03  /*Opcode group+Opcode+Length*/

/*  Status report enums */
enum  {
  gZTCSucess_c         = 0x00,
  gZTCInvalidRequest_c = 0xFF
};

enum  {
  gZTCFailure_c = 0xFF
};

/******************************************************************************
*******************************************************************************
* Public prototypes
*******************************************************************************
******************************************************************************/
/* None */

/******************************************************************************
*******************************************************************************
* Public type definitions
*******************************************************************************
******************************************************************************/
/* None */

/******************************************************************************
*******************************************************************************
* Public memory declarations
*******************************************************************************
******************************************************************************/
/* Stores the SAP Modes */
extern uint8_t gaZTC_SAPMode[];
/*  An array to accombadate all the primitives(bit maped) for filter 
information */
extern uint8_t gaFilter[ ];

/******************************************************************************
*******************************************************************************
* Public functions
*******************************************************************************
******************************************************************************/

/*****************************************************************************
* This is the function to configure ZTC or to get the configuration
* information of ZTC.  Depending on the opcode Id it configures the ZTC for
* different request of the Test client or sends the configuration to the test
* client.
*
* Interface assumptions:
*   None
*
* The routine limitations.
*   None
*
* Return value:
*   None
*
* Effects on global data.
*   None
*
* Source of algorithm used.
*   None
*
* Revison history:
*
*   date    Author   Comments
*   ------  ------   --------
*   240306   LS,      Updated
*****************************************************************************/ 
void ZTCConfigure_Configure
  (
  const ZTCMessage_t *const pMsg /* IN: Pointer to the memory where the 
    configuration data is stored */
  );


#endif /* _ZTCCONFIGURATION_H_  */
#endif /*  ( gZtcIncluded_d == 1  ) */

⌨️ 快捷键说明

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