00001 /** 00002 ******************************************************************************* 00003 * @file utility.h 00004 * @version V1.1.3 Initial version 00005 * @date 2010.04.26 00006 * @brief Utility function header file 00007 * @details This file including some defines and declares related to utility 00008 * function. 00009 ******************************************************************************* 00010 * @copy 00011 * 00012 * INTERNAL FILE,DON'T PUBLIC. 00013 * 00014 * <h2><center>© COPYRIGHT 2009 CooCox </center></h2> 00015 ******************************************************************************* 00016 */ 00017 00018 00019 #ifndef _UTILITY_H 00020 #define _UTILITY_H 00021 00022 00023 /** 00024 * @struct Time struct utility.h 00025 * @brief Time struct 00026 * @details This struct use to manage time 00027 */ 00028 typedef struct SysTime 00029 { 00030 U8 sec; /*!< Second */ 00031 U8 min; /*!< Minute */ 00032 U8 hour; /*!< Hour */ 00033 U8 date; /*!< Date */ 00034 U8 month; /*!< Month */ 00035 U16 year; /*!< Year */ 00036 }TIME; 00037 00038 #endif 00039