亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? utl.h

?? TITMS6000 DM642 串口程序 uart
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*
 *  Copyright 2003 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) ReferenceFrameworks 2.10.00.11 04-30-03 (swat-d15)" */
/* 
 *  ======== utl.h ========
 *
 *  Utility module for various debugging operations
 *
 *  The module provides several classes of features, each of which can be
 *  enabled or disabled individually, unless a *level* of debugging is
 *  defined (see below). Each debugging feature is implemented via a macro
 *  (or set of macros) which expands to code if the feature (class) is 
 *  turned on, otherwise it expands to nothing.
 *
 *  Each feature can be turned on or off with its specific flag, by defining
 *  it to be 0 or 1 (individual features are described at the place of their
 *  definitions in this file). Classes are described in detail further in
 *  this file. 
 * 
 *  Instead of defining individual class, the user can also define level
 *  of debugging, which automatically enables certain classes and disables
 *  others (unless they are already enabled or disabled by the user); a level
 *  enables all the classes the previous level enables and one other.
 *  (Also, a combination can be used: level + individual classes explicitly
 *  turned on or off). 
 *
 *  Here is the list of classes, their levels, flag names, and brief 
 *  descriptions:
 *
 *  - error messages                (level: 10, flag: UTL_LOGERROR): 
 *    printing user's error messages to a LOG object via UTL_logError();
 *  - warning messages              (level: 20, flag: UTL_LOGWARNING): 
 *    printing user's warning messages to a LOG object via UTL_logWarning();
 *  - general messages              (level: 30, flag: UTL_LOGMESSAGE):
 *    printing user's general messages to a LOG object via UTL_logMessage();
 *  - debug messages                (level: 40, flag: UTL_LOGDEBUG):
 *    printing user's debug messages to a LOG object via UTL_logDebug();
 *  - assertions                    (level: 50, flag: UTL_ASSERT):
 *    halting execution if the condition in assertion in UTL_assert() fails
 *  - time statistics               (level: 60, flag: UTL_STS):
 *    storing various real-time parameters into STS objects using UTL_sts*()
 *  - algorithm memory usage        (level: 70, flag: UTL_ALGMEM)
 *    reporting heap usage with UTL_showAlgMem(), UTL_showHeapUsage()
 *
 *  Defining UTL_DBGLEVEL automatically defines above flags to be 0 or 1,
 *  unless a flag for the class is already defined (to be 0 or 1).
 *  The levels are:
 *
 *  level  0: all debugging features disabled
 *  level 10: UTL_LOGERROR only is defined
 *  level 20: all in lower levels, plus UTL_LOGWARNING is defined
 *  level 30: all in lower levels, plus UTL_LOGMESSAGE is defined
 *  level 40: all in lower levels, plus UTL_LOGDEBUG   is defined
 *  level 50: all in lower levels, plus UTL_ASSERT     is defined
 *  level 60: all in lower levels, plus UTL_STS        is defined
 *  level 70: all in lower levels, plus UTL_ALGMEM     is defined
 *
 *  Example: compiling with -DUTL_DBGLEVEL=30 will enable classes
 *  error/warning/general messages (meaning macros for those features
 *  will be turned into actual code) and disable all others (meaning
 *  their macros will expand to nothing).
 *  Example 2: compiling with -DUTL_DBGLEVEL=20 and -DUTL_ASSERT=1
 *  will enable error/warning messages and assertions
 *  Example 3: compiling with-DUTL_DBGLEVEL=70 -DUTL_STS=0 
 *  will enable all classes except STS.
 *
 *  Note that usually levels 0-30 would be used in deployment mode, 
 *  and levels 40 and up in development mode).
 *
 *  Error/warning/message/debug logs can use same LOG objects or 
 *  different ones; assert and algmem use the LOG object used by
 *  UTL_logDebug. The choice of logs is made by
 *  
 *  UTL_setLogs( <LOG for errors>,   <LOG for warnings>, 
 *               <LOG for messages>, <LOG for debugging> );
 *
 *  This macro also expands to nothing if none of the classes that use
 *  log objects is enabled.
 */
#ifndef UTL_
#define UTL_

#include <log.h>
#include <sts.h>

#ifdef __cplusplus
extern "C" {
#endif

/* 
 *  If UTL_DBGLEVEL is defined, we define which debugging classes will be
 *  enabled or disabled by defining them here
 */
#ifdef UTL_DBGLEVEL 

    #if UTL_DBGLEVEL >= 10
        #ifndef     UTL_LOGERROR
            #define UTL_LOGERROR   1
        #endif
    #endif

    #if UTL_DBGLEVEL >= 20
        #ifndef     UTL_LOGWARNING
            #define UTL_LOGWARNING 1
        #endif
    #endif

    #if UTL_DBGLEVEL >= 30
        #ifndef     UTL_LOGMESSAGE
            #define UTL_LOGMESSAGE 1
        #endif
    #endif

    #if UTL_DBGLEVEL >= 40
        #ifndef     UTL_LOGDEBUG
            #define UTL_LOGDEBUG   1
        #endif
    #endif

    #if UTL_DBGLEVEL >= 50
        #ifndef     UTL_ASSERT
            #define UTL_ASSERT     1
        #endif
    #endif

    #if UTL_DBGLEVEL >= 60
        #ifndef     UTL_STS
            #define UTL_STS        1
        #endif
    #endif

    #if UTL_DBGLEVEL >= 70
        #ifndef     UTL_ALGMEM
            #define UTL_ALGMEM     1
        #endif
    #endif

#endif  /* UTL_DBGLEVEL */

/* flags which are not defined, are defined here to be 0 */
#ifndef     UTL_LOGERROR
    #define UTL_LOGERROR   0
#endif
#ifndef     UTL_LOGWARNING
    #define UTL_LOGWARNING 0
#endif
#ifndef     UTL_LOGMESSAGE
    #define UTL_LOGMESSAGE 0
#endif
#ifndef     UTL_LOGDEBUG
    #define UTL_LOGDEBUG   0
#endif
#ifndef     UTL_ASSERT
    #define UTL_ASSERT     0
#endif
#ifndef     UTL_STS     
    #define UTL_STS        0
#endif
#ifndef     UTL_ALGMEM  
    #define UTL_ALGMEM     0
#endif



/*
 *  Setting up LOG objects for classes:
 *  We have LOG objects for errors, warnings, messages, 
 *  and debug/assert/algmem. They are all set with UTL_setLogs() call,
 *  defined to be a macro that expands to nothing if none of the classes
 *  are enabled.
 */
#if UTL_LOGERROR == 1 || UTL_LOGWARNING == 1 || UTL_LOGMESSAGE == 1 || \
    UTL_LOGDEBUG == 1 || UTL_ASSERT == 1 || UTL_STS == 1 || UTL_ALGMEM == 1

    extern LOG_Handle UTL_logErrorHandle;
    extern LOG_Handle UTL_logWarningHandle;
    extern LOG_Handle UTL_logMessageHandle;
    extern LOG_Handle UTL_logDebugHandle;

    /*
     *  ========= UTL_setLogs ==========
     *  Names the LOG objects to be used for errors/warnings/messages/debugging;
     *  they do not have to be all different.
     */
    extern Void UTL_setLogs( LOG_Handle logErr, LOG_Handle logWarn, 
                             LOG_Handle logMsg, LOG_Handle logDbg );

#else   /* none of the classes enabled, so the macro is empty */
    #define UTL_setLogs( logErr, logWarn, logMsg, logDbg )
#endif



/*
 *  UTL_log{Error,Warning,Message,Debug}() macros
 *
 *  These four classes of debugging/diagnostics functions perform, if enabled,
 *  a LOG_printf of the given parameters to a default LOG object 
 *  for that class (as determined by UTL_setLogs(), see above)
 *
 *  Syntax: 
 *  UTL_log{Error,Warning,Message,Debug}[0,1,2]( <format>[, <arg1>[, <arg2>]] )
 *
 *  The suffix in the function name (nothing, 0, 1, or 2) determines how many
 *  parameters the formatted output has (none, none, one, or two, respectively).
 *  
 *  Example: UTL_logMessage1( "Current framesize: %d", fs );
 *  If UTL_LOGMESSAGE is defined to be 1 (UTL_DBGLEVEL >= 10), it will
 *  expand to LOG_printf( UTL_logErrorHandle, "Current framesize: %d", fs );
 *  where UTL_logErrorHandle contains the address of the LOG objects for
 *  errors as determined by the first parameter in a call to UTL_setLogs().
 */
#if UTL_LOGERROR == 1
    #define UTL_logError( format )  \
            LOG_printf( UTL_logErrorHandle, (format) )
    #define UTL_logError0( format )  \
            LOG_printf( UTL_logErrorHandle, (format) )
    #define UTL_logError1( format, arg1 )  \
            LOG_printf( UTL_logErrorHandle, (format), (arg1) )
    #define UTL_logError2( format, arg1, arg2 )  \
            LOG_printf( UTL_logErrorHandle, (format), (arg1), (arg2) )
#else   /* UTL_LOGERROR == 0 */
    #define UTL_logError( format )
    #define UTL_logError0( format )
    #define UTL_logError1( format, arg1 )
    #define UTL_logError2( format, arg1, arg2 )
#endif  /* UTL_LOGERROR */

#if UTL_LOGWARNING == 1
    #define UTL_logWarning( format )  \
            LOG_printf( UTL_logWarningHandle, (format) )
    #define UTL_logWarning0( format )  \
            LOG_printf( UTL_logWarningHandle, (format) )
    #define UTL_logWarning1( format, arg1 )  \
            LOG_printf( UTL_logWarningHandle, (format), (arg1) )
    #define UTL_logWarning2( format, arg1, arg2 )  \
            LOG_printf( UTL_logWarningHandle, (format), (arg1), (arg2) )
#else   /* UTL_LOGWARNING == 0 */
    #define UTL_logWarning( format )
    #define UTL_logWarning0( format )
    #define UTL_logWarning1( format, arg1 )
    #define UTL_logWarning2( format, arg1, arg2 )
#endif  /* UTL_LOGWARNING */

#if UTL_LOGMESSAGE == 1
    #define UTL_logMessage( format )  \
            LOG_printf( UTL_logMessageHandle, (format) )
    #define UTL_logMessage0( format )  \
            LOG_printf( UTL_logMessageHandle, (format) )
    #define UTL_logMessage1( format, arg1 )  \
            LOG_printf( UTL_logMessageHandle, (format), (arg1) )
    #define UTL_logMessage2( format, arg1, arg2 )  \
            LOG_printf( UTL_logMessageHandle, (format), (arg1), (arg2) )
#else   /* UTL_LOGMESSAGE == 0 */
    #define UTL_logMessage( format )
    #define UTL_logMessage0( format )
    #define UTL_logMessage1( format, arg1 )
    #define UTL_logMessage2( format, arg1, arg2 )
#endif  /* UTL_MESSAGE */

#if UTL_LOGDEBUG == 1

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩高清中文字幕一区| 国产福利一区二区三区视频在线| 欧美色中文字幕| 国产成人av一区二区| 日韩在线观看一区二区| 中文字幕第一区| 久久人人爽爽爽人久久久| 91精品国产乱码| 日本高清不卡aⅴ免费网站| eeuss鲁片一区二区三区在线看| 国产一区二区在线免费观看| 亚洲成人免费影院| 亚洲图片欧美综合| 亚洲午夜电影网| 天天色天天操综合| 亚洲国产一区二区a毛片| 中文字幕日韩一区| 亚洲色图色小说| 亚洲欧洲综合另类在线| 亚洲精品菠萝久久久久久久| 夜夜嗨av一区二区三区四季av| 欧美人与禽zozo性伦| 欧美顶级少妇做爰| 精品国产伦理网| 777奇米四色成人影色区| 国产日产欧美一区二区视频| 一区二区三区成人| 99精品欧美一区二区三区小说| 一本色道亚洲精品aⅴ| 精品乱人伦小说| 日韩和欧美一区二区| 一本色道久久综合狠狠躁的推荐 | 夜夜精品浪潮av一区二区三区| 亚洲大片在线观看| 91在线视频播放地址| 中文字幕精品一区二区三区精品| 国产精品第四页| 成人国产精品免费观看动漫| 精品福利在线导航| 久久国产日韩欧美精品| 日韩小视频在线观看专区| 久久免费看少妇高潮| 国产一区二区三区在线观看免费视频| 精品中文字幕一区二区| 91国产视频在线观看| 国产欧美va欧美不卡在线| 一区二区三区自拍| 精品影院一区二区久久久| 激情综合网激情| 在线影院国内精品| 国产精品国产三级国产aⅴ中文 | 亚洲免费在线视频一区 二区| 国产精品麻豆久久久| 亚洲福利视频一区二区| 欧美亚洲一区二区在线| 一区二区三区高清不卡| 97精品超碰一区二区三区| 久久综合九色综合97婷婷| 欧美96一区二区免费视频| 7777精品伊人久久久大香线蕉超级流畅| 亚洲一区二区在线播放相泽| 色综合久久天天| 亚洲天堂成人网| 狠狠色丁香久久婷婷综合_中 | 国产精品久久久久久妇女6080| 蜜桃免费网站一区二区三区| 精品福利二区三区| 成人综合日日夜夜| 亚洲精品成人在线| 欧美视频中文字幕| 麻豆成人av在线| 一区二区三区四区亚洲| 日韩欧美国产不卡| 91在线国内视频| 激情综合色综合久久综合| 亚洲成人av一区| 久久这里只有精品视频网| 一本高清dvd不卡在线观看 | 狠狠色综合播放一区二区| 亚洲美女屁股眼交| 国产偷国产偷精品高清尤物| 欧美精品免费视频| 国产精品亚洲午夜一区二区三区| 综合激情网...| 久久亚洲精品小早川怜子| 欧美日韩高清不卡| av高清久久久| 成人美女视频在线看| 成人动漫在线一区| 欧美亚洲图片小说| 日韩亚洲欧美成人一区| 久久亚洲综合色| 亚洲国产精华液网站w| 亚洲男人的天堂一区二区 | 国产风韵犹存在线视精品| 麻豆成人在线观看| av资源站一区| 欧美午夜一区二区三区| 欧美一区二区视频观看视频| 69p69国产精品| 国产午夜精品一区二区三区视频 | 国产成人精品一区二区三区网站观看| 成人丝袜视频网| 欧美精品一级二级三级| 久久精品男人天堂av| 中文字幕免费不卡在线| 免费在线观看视频一区| 成人app网站| 日韩欧美国产麻豆| 一区二区激情视频| 国产一区二区三区美女| 久久99精品久久久| 在线观看国产日韩| 国产精品久久久久永久免费观看 | 加勒比av一区二区| 94-欧美-setu| 久久婷婷色综合| 亚洲在线一区二区三区| 韩国欧美国产1区| 一本色道久久综合亚洲aⅴ蜜桃| 欧美va亚洲va| 婷婷开心久久网| 在线视频一区二区三| 日本一区二区电影| 国产精品1区二区.| 911精品国产一区二区在线| 国产精品国产三级国产aⅴ入口| 日日嗨av一区二区三区四区| 99re这里只有精品首页| 久久久www免费人成精品| 午夜精品久久久久久久久| 一本色道久久综合亚洲aⅴ蜜桃 | 国产精品青草综合久久久久99| 日产国产高清一区二区三区| 92国产精品观看| 欧美国产一区二区| 国产精品一区免费在线观看| 91麻豆精品国产91久久久使用方法| 亚洲色图制服丝袜| 色噜噜狠狠色综合中国| 中文字幕中文在线不卡住| 高清视频一区二区| 亚洲欧洲av色图| 欧美在线免费观看视频| 亚洲国产精品久久艾草纯爱| 色94色欧美sute亚洲线路一久| 国产精品久久久久7777按摩| 91视频你懂的| 亚洲影院理伦片| 欧美天天综合网| 久久精品国产一区二区| 精品国内二区三区| 成人免费黄色在线| 婷婷一区二区三区| 久久久久久久久久电影| 一本色道久久加勒比精品| 麻豆精品一区二区| 偷拍一区二区三区| 久久久久国色av免费看影院| www.亚洲在线| 蜜臀av性久久久久蜜臀av麻豆| 久久这里只有精品视频网| 97久久精品人人做人人爽| 日韩国产成人精品| 亚洲欧美日韩一区二区三区在线观看| 欧美视频一区二区三区| 成人一区二区在线观看| 日本不卡的三区四区五区| 国产嫩草影院久久久久| 日韩无一区二区| 欧美在线观看视频在线| 欧美三级视频在线| 91精品国产一区二区三区香蕉| 精品久久久影院| 国产精品女同一区二区三区| 亚洲女同女同女同女同女同69| 亚洲一区二区三区在线播放| 蜜臀av一区二区在线免费观看| 极品少妇xxxx精品少妇偷拍| 不卡在线视频中文字幕| 欧美二区三区91| 国产精品久久久久久久久晋中| 日韩电影免费一区| 国产91高潮流白浆在线麻豆| 欧美自拍偷拍一区| wwwwww.欧美系列| 一区二区在线电影| 国产精品综合网| 91黄色激情网站| 国产精品美女久久久久久2018 | 成人黄色大片在线观看| 欧美人与z0zoxxxx视频| 中文字幕不卡在线| 日韩成人dvd| 国产精品一卡二卡在线观看| 成人免费毛片嘿嘿连载视频| 91蜜桃网址入口| 欧美精品久久一区| 国产精品天干天干在观线| 一区二区三区小说|