yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | /**
|
| 2 | *
|
| 3 | * @file zcatagt_event.h
|
| 4 | * @brief
|
| 5 | * This file is part of ZCAT.
|
| 6 | * ZCAT¹¤¾ßeventÏûÏ¢´¦ÀíÄ£¿é
|
| 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_EVENT_H
|
| 31 | #define ZCAT_EVENT_H
|
| 32 |
|
| 33 | #include "StdLogMsgID.h"
|
| 34 |
|
| 35 | #ifdef __cplusplus
|
| 36 | extern "C"
|
| 37 | {
|
| 38 | #endif
|
| 39 |
|
| 40 | // ÓÃÓÚ»ñÈ¡mask bit£º
|
| 41 | #define GET_EVENT_MASK_BIT(event_id) (0x01 << ((event_id) & 7))
|
| 42 |
|
| 43 | // Event Mask×Ü×Ö½ÚÊý
|
| 44 | #define EVENT_MASK_BYTE_NUM ((EVT_TOOL_LAST + 7) / 8)
|
| 45 |
|
| 46 | /************************************************************************/
|
| 47 | /* Êý¾ÝÀàÐÍ */
|
| 48 | /************************************************************************/
|
| 49 | typedef struct
|
| 50 | {
|
| 51 | UINT16 event_id;
|
| 52 | UINT8 psType;
|
| 53 | UINT8 padding;
|
| 54 | UINT32 gsmSFN;
|
| 55 | UINT32 tdSFN;
|
| 56 | UINT32 lteSFN;
|
| 57 | UINT32 wcdmaSFN;
|
| 58 | UINT16 len;
|
| 59 | UINT16 reserved;
|
| 60 | } T_ZCAT_EVENT_HEADER;
|
| 61 |
|
| 62 | /************************************************************************/
|
| 63 | /* ½Ó¿ÚÔÐÍ */
|
| 64 | /************************************************************************/
|
| 65 |
|
| 66 |
|
| 67 | #ifdef __cplusplus
|
| 68 | }
|
| 69 | #endif
|
| 70 |
|
| 71 | #endif // ZCAT_EVENT_H
|
| 72 |
|
| 73 |
|