| /********************************************************************************* |
| * @file zxic_errno.h |
| * @brief ¶¨ÒåÆ½Ì¨µÄ´íÎóÂë |
| * |
| * Copyright (C) 2017 Sanechips Technology Co., Ltd. |
| * @author |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| * |
| ***********************************************************************************/ |
| #ifndef _ZXIC_ERRNO_H_ |
| #define _ZXIC_ERRNO_H_ |
| |
| #include "max_macro.h" |
| |
| |
| |
| #ifndef NULL |
| #define NULL ((void*)0) |
| #endif |
| |
| |
| typedef struct { |
| int err_no; |
| unsigned long err_time; //´íÎó·¢Éúʱ¼ä |
| } ERR_INFO; |
| |
| typedef struct { |
| unsigned int num; //¼Ç¼errno×ܸöÊý |
| ERR_INFO errInfo[ERR_TRACK_MAX_NUM]; //Ñ»·¸²¸Çϱê num % ERR_TRACK_MAX_NUM |
| } ERR_TRACK; |
| #endif |