Quick and dirty CoOS + LWIP ( Webserver )

Dependencies:   mbed lwip

Committer:
astroboy
Date:
Sat Sep 10 22:41:10 2011 +0000
Revision:
0:94897d537b31

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
astroboy 0:94897d537b31 1 /**
astroboy 0:94897d537b31 2 *******************************************************************************
astroboy 0:94897d537b31 3 * @file utility.h
astroboy 0:94897d537b31 4 * @version V1.1.4
astroboy 0:94897d537b31 5 * @date 2011.04.20
astroboy 0:94897d537b31 6 * @brief Utility function header file
astroboy 0:94897d537b31 7 * @details This file including some defines and declares related to utility
astroboy 0:94897d537b31 8 * function.
astroboy 0:94897d537b31 9 *******************************************************************************
astroboy 0:94897d537b31 10 * @copy
astroboy 0:94897d537b31 11 *
astroboy 0:94897d537b31 12 * INTERNAL FILE,DON'T PUBLIC.
astroboy 0:94897d537b31 13 *
astroboy 0:94897d537b31 14 * <h2><center>&copy; COPYRIGHT 2009 CooCox </center></h2>
astroboy 0:94897d537b31 15 *******************************************************************************
astroboy 0:94897d537b31 16 */
astroboy 0:94897d537b31 17
astroboy 0:94897d537b31 18
astroboy 0:94897d537b31 19 #ifndef _UTILITY_H
astroboy 0:94897d537b31 20 #define _UTILITY_H
astroboy 0:94897d537b31 21
astroboy 0:94897d537b31 22
astroboy 0:94897d537b31 23 /**
astroboy 0:94897d537b31 24 * @struct Time struct utility.h
astroboy 0:94897d537b31 25 * @brief Time struct
astroboy 0:94897d537b31 26 * @details This struct use to manage time
astroboy 0:94897d537b31 27 */
astroboy 0:94897d537b31 28 typedef struct SysTime
astroboy 0:94897d537b31 29 {
astroboy 0:94897d537b31 30 U8 sec; /*!< Second */
astroboy 0:94897d537b31 31 U8 min; /*!< Minute */
astroboy 0:94897d537b31 32 U8 hour; /*!< Hour */
astroboy 0:94897d537b31 33 U8 date; /*!< Date */
astroboy 0:94897d537b31 34 U8 month; /*!< Month */
astroboy 0:94897d537b31 35 U16 year; /*!< Year */
astroboy 0:94897d537b31 36 }TIME;
astroboy 0:94897d537b31 37
astroboy 0:94897d537b31 38 #endif
astroboy 0:94897d537b31 39