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

📄 cinclude.h

📁 基于跳频的音频连接系统设计(Mono Audio Link Using Frequency Hopping)及源代码
💻 H
字号:
/*******************************************************************************************************
 *                                                                                                     *
 *        **********                                                                                   *
 *       ************                                                                                  *
 *      ***        ***                                                                                 *
 *      ***   +++   ***                                                                                *
 *      ***   + +   ***                                                                                *
 *      ***   +                                                                                        *
 *      ***   + +   ***                              Include file for C modules                        *
 *      ***   +++   ***                                                                                *
 *      ***        ***                                                                                 *
 *       ************                                                                                  *
 *        **********                                                                                   *
 *                                                                                                     *
 *******************************************************************************************************
 * C specific include file.																			   *
 * This file shall be included in all source files (*.c). No other library inclusions are required.    *
 *******************************************************************************************************
 * Compiler:                                                                                           *
 * Target platform:                                                                                    *
 *******************************************************************************************************
 * Revision history:  																				   *
 * Initial release, HKI, 01.08.2004                      		                                       *                                                                                 *
 ******************************************************************************************************/

#ifndef CINCLUDE_H
#define CINCLUDE_H

 /******************************************************************************************************
 * 											Common data types          								   *
 ******************************************************************************************************/

typedef unsigned char BOOL;
typedef unsigned char BYTE;
typedef unsigned short WORD;


typedef unsigned char UINT8;
typedef unsigned int UINT16;
typedef unsigned long UINT32;


typedef signed char INT8;
typedef signed int INT16;
typedef signed long INT32;

 /******************************************************************************************************
 * 												Common values          								   *
 ******************************************************************************************************/

#ifndef FALSE
	#define FALSE 0
#endif

#ifndef TRUE
	#define TRUE 1
#endif

#ifndef NULL
	#define NULL 0
#endif

 /******************************************************************************************************
 * 												Utilities   	       								   *
 ******************************************************************************************************/

#define BM(n) (1 << (n))
#define BF(x,b,s) (((x) & (b)) >> (s))
#define MIN(n,m) (((n) < (m)) ? (n) : (m))
#define MAX(n,m) (((n) < (m)) ? (m) : (n))
#define ABS(n) ((n < 0) ? -(n) : (n))

 /******************************************************************************************************
 * 											Common port definitions         						   *
 ******************************************************************************************************/

#include <include.h>

 /******************************************************************************************************
 * 										Standard GCC include files    							   *
 ******************************************************************************************************/

#include <stdio.h>
#include <stdlib.h>

 /******************************************************************************************************
 * 											WLS specific files			   							   *
 ******************************************************************************************************/

#include <FIFO.h>
#include <PKT.h>
#include <comp.h>
#include <freqHop.h>
#include <config.h>
#include <utilities.h>

 /******************************************************************************************************
 * 											Include files for CC2400	   							   *
 ******************************************************************************************************/

#include <cc2400.h>

 /******************************************************************************************************/

#endif



⌨️ 快捷键说明

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