yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | /**
|
| 2 | *
|
| 3 | * @file zcat_print.h
|
| 4 | * @brief
|
| 5 | * This file is part of ZCAT.
|
| 6 | * ZCAT¹¤¾ß MODEM PRINTÄ£¿éºÍµÈ¼¶¶¨Òå
|
| 7 | *
|
| 8 | * @details
|
| 9 | * @author Tools Team.
|
| 10 | * @email
|
| 11 | * @copyright Copyright (C) 2013 Sanechips Technology Co., Ltd.
|
| 12 | * @warning
|
| 13 | * @date 2019/02/02
|
| 14 | * @version 1.1
|
| 15 | * @pre
|
| 16 | * @post
|
| 17 | *
|
| 18 | * @par
|
| 19 | * Change History :
|
| 20 | * ---------------------------------------------------------------------------
|
| 21 | * date version author description
|
| 22 | * ---------------------------------------------------------------------------
|
| 23 | * 2012/12/27 1.0 lu.xieji Create file
|
| 24 | * 2019/02/02 1.1 jiang.fenglin ÐÞ¸Ä×¢ÊÍ·½Ê½Îªdoxygen
|
| 25 | * ---------------------------------------------------------------------------
|
| 26 | *
|
| 27 | *
|
| 28 | */
|
| 29 |
|
| 30 | #ifndef ZCAT_PRINT_H
|
| 31 | #define ZCAT_PRINT_H
|
| 32 |
|
| 33 | #ifdef __cplusplus
|
| 34 | extern "C"
|
| 35 | {
|
| 36 | #endif
|
| 37 |
|
| 38 | /************************************************************************/
|
| 39 | /* Êý¾ÝÀàÐÍ */
|
| 40 | /************************************************************************/
|
| 41 | // ÁÙʱ£¬È¥³ý±àÒ뾯¸æ
|
| 42 | #undef PRINT_LEVEL_FORBID
|
| 43 | #undef PRINT_LEVEL_ABNORMAL
|
| 44 | #undef PRINT_LEVEL_SEVERE
|
| 45 | #undef PRINT_LEVEL_NORMAL
|
| 46 | #undef PRINT_LEVEL_DEBUG
|
| 47 | ////////////////////////////////////
|
| 48 |
|
| 49 | #define PRINT_LEVEL_FORBID (0x00) /* ²»´òÓ¡ */
|
| 50 | #define PRINT_LEVEL_DEBUG (0x01) /* µ÷ÊÔ¼¶±ð */
|
| 51 | #define PRINT_LEVEL_NORMAL (0x02) /* ÆÕͨ¼¶±ð */
|
| 52 | #define PRINT_LEVEL_SEVERE (0x04) /* ÑÏÖØ¼¶±ð */
|
| 53 | #define PRINT_LEVEL_ABNORMAL (0x08) /* Òì³£¼¶±ð */
|
| 54 |
|
| 55 | typedef struct
|
| 56 | {
|
| 57 | UINT8 mod;
|
| 58 | UINT8 level;
|
| 59 | UINT16 len;
|
| 60 | } T_ZCAT_PRINT_HEADER;
|
| 61 | /************************************************************************/
|
| 62 | /* ½Ó¿ÚÔÐÍ */
|
| 63 | /************************************************************************/
|
| 64 |
|
| 65 |
|
| 66 | #ifdef __cplusplus
|
| 67 | }
|
| 68 | #endif
|
| 69 |
|
| 70 | #endif // ZCAT_PRINT_H
|
| 71 |
|