EthernetNetIf Compatibility.

Dependents:   XBeeWiFi_SPI_example

Fork of NetServicesSource by Donatien Garnier

Committer:
donatien
Date:
Fri Jun 11 16:05:15 2010 +0000
Revision:
0:632c9925f013

        

Who changed what in which revision?

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