astroboy astroboy
/
CoOS_LWIP
Quick and dirty CoOS + LWIP ( Webserver )
Diff: CoOS/kernel/utility.h
- Revision:
- 0:94897d537b31
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CoOS/kernel/utility.h Sat Sep 10 22:41:10 2011 +0000 @@ -0,0 +1,39 @@ +/** + ******************************************************************************* + * @file utility.h + * @version V1.1.4 + * @date 2011.04.20 + * @brief Utility function header file + * @details This file including some defines and declares related to utility + * function. + ******************************************************************************* + * @copy + * + * INTERNAL FILE,DON'T PUBLIC. + * + * <h2><center>© COPYRIGHT 2009 CooCox </center></h2> + ******************************************************************************* + */ + + +#ifndef _UTILITY_H +#define _UTILITY_H + + +/** + * @struct Time struct utility.h + * @brief Time struct + * @details This struct use to manage time + */ +typedef struct SysTime +{ + U8 sec; /*!< Second */ + U8 min; /*!< Minute */ + U8 hour; /*!< Hour */ + U8 date; /*!< Date */ + U8 month; /*!< Month */ + U16 year; /*!< Year */ +}TIME; + +#endif +