Version of http://mbed.org/cookbook/NetServicesTribute with setting set the same for LPC2368

Dependents:   UDPSocketExample 24LCxx_I2CApp WeatherPlatform_pachube HvZServerLib ... more

Committer:
simon
Date:
Tue Nov 23 14:15:36 2010 +0000
Revision:
0:350011bf8be7
Experimental version for testing UDP

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon 0:350011bf8be7 1 /*
simon 0:350011bf8be7 2 * Author: Adam Dunkels <adam@sics.se>
simon 0:350011bf8be7 3 *
simon 0:350011bf8be7 4 */
simon 0:350011bf8be7 5 #ifndef __LWIP_SYS_ARCH_H__
simon 0:350011bf8be7 6 #define __LWIP_SYS_ARCH_H__
simon 0:350011bf8be7 7
simon 0:350011bf8be7 8 typedef unsigned int u32_t;
simon 0:350011bf8be7 9
simon 0:350011bf8be7 10 #ifdef __cplusplus
simon 0:350011bf8be7 11 extern "C" {
simon 0:350011bf8be7 12 #endif
simon 0:350011bf8be7 13
simon 0:350011bf8be7 14 //DG 2010
simon 0:350011bf8be7 15 void sys_init(void); /* To be called first */
simon 0:350011bf8be7 16 u32_t sys_jiffies(void); /* since power up. */
simon 0:350011bf8be7 17
simon 0:350011bf8be7 18 /** Returns the current time in milliseconds,
simon 0:350011bf8be7 19 * may be the same as sys_jiffies or at least based on it. */
simon 0:350011bf8be7 20 u32_t sys_now(void);
simon 0:350011bf8be7 21
simon 0:350011bf8be7 22 #ifdef __cplusplus
simon 0:350011bf8be7 23 }
simon 0:350011bf8be7 24 #endif
simon 0:350011bf8be7 25
simon 0:350011bf8be7 26
simon 0:350011bf8be7 27 #endif /* __LWIP_ARCH_CC_H__ */