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

📄 cconfig.h

📁 vt6528芯片交换机API函数和文档运行程序
💻 H
字号:
/*
 * File:    cconfig.h
 */


#ifndef __CCONFIG_H__
#define __CCONFIG_H__

#if !defined(__TTYPE_H__)
#include "ttype.h"
#endif




/******* Platform Generic Configuration **************************************/

//--------------------------------------
// Define to insure proper alignment for the structure member
//--------------------------------------
#define __PAD_ALGN_1        1
#define __PAD_ALGN_2        2
#define __PAD_ALGN_3        3


#ifdef __TOOLS_ADS
    #define __PACKED            __packed
    #define __PACKED_GCC
#else
    #define __PACKED
    #define __PACKED_GCC        __attribute__((packed))
#endif


#define STRUCT_PACK_BEGIN(strctname)    __PACKED struct strctname {
#define STRUCT_PACK_END(strctname)      } __PACKED_GCC;




/******* User configuration **************************************************/

//--------------------------------------
// Define for debug, uncomment some of the following lines, if want to debug
//--------------------------------------
#define __DEBUG                 0       // on/off for debug code
#define __DEBUG_PRN_PANIC       1       // on/off for print severe error message, aka panic message
#define __DEBUG_PRN             1       // on/off for print debug message
#define __DEBUG_BREAK           0       // on/off for break point




//--------------------------------------
// This section is for user configuration, defined as your wish
//--------------------------------------




#endif /* __CCONFIG_H__ */


⌨️ 快捷键说明

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