![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
CoOS Demonstrator adapted to mbed Hardware.
Diff: utility.h
- Revision:
- 0:57690853989a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/utility.h Fri Dec 03 19:45:30 2010 +0000 @@ -0,0 +1,39 @@ +/** + ******************************************************************************* + * @file utility.h + * @version V1.1.3 Initial version + * @date 2010.04.26 + * @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 +