📄 zigbee demo.h
字号:
#ifndef __ZIGBEE_H__
#define __ZIGBEE_H__
/*
* Include the generic CPU header file
*/
//#include "mcf5xxx.h"
/*
* Include the specific CPU header file
*/
//#include "mcf5213.h"
/*
* Include the board specific header file
*/
/*
#if (defined(M5213EVB))
#include "m5213evb/m5213evb.h"
#elif (defined(M5211DEMO))
#include "m5211demo/m5211demo.h"
#elif (defined(M5213P))
#include "m5213p/m5213p.h"
#else
#error "No valid platform defined"
#endif
*/
/*
* Include any toolchain specfic header files
*/
#if (defined(__MWERKS__))
#include "build/mwerks/mwerks.h"
#elif (defined(__DCC__))
#include "build/wrs/diab.h"
#elif (defined(__ghs__))
#include "build/ghs/ghs.h"
#endif
/*
* Include common utilities
*/
#include "assert.h"
#include "io.h"
//#include "stdlib.h"
/*
uC/OS-II
*/
#include "OS_CPU.H"
/********************************************************************/
extern INT8U OSIntNesting;
extern struct os_tcb *OSTCBCur;
extern OS_STK AppTaskZigbeeStk[1224];
void AppTaskZigbee (void * pdata);
void zigbee_sysinit (void);
__interrupt__ void Zigbee_ADC_PIT_1Interrupt(void);
void make_trans_package(unsigned char src_id,unsigned char des_id,unsigned char cmd,volatile unsigned char *data,unsigned char data_buf_length);
/********************************************************************/
#endif//__ZIGBEE_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -