bruno LARNAUDIE
/
HTTPServer
EthernetNetIf/LPC1768/lwip/arch/sys_arch.h@0:58c3d014a4e7, 2011-09-06 (annotated)
- Committer:
- slowness
- Date:
- Tue Sep 06 18:05:46 2011 +0000
- Revision:
- 0:58c3d014a4e7
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
slowness | 0:58c3d014a4e7 | 1 | /* |
slowness | 0:58c3d014a4e7 | 2 | * Author: Adam Dunkels <adam@sics.se> |
slowness | 0:58c3d014a4e7 | 3 | * |
slowness | 0:58c3d014a4e7 | 4 | */ |
slowness | 0:58c3d014a4e7 | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
slowness | 0:58c3d014a4e7 | 6 | #define __LWIP_SYS_ARCH_H__ |
slowness | 0:58c3d014a4e7 | 7 | |
slowness | 0:58c3d014a4e7 | 8 | typedef unsigned int u32_t; |
slowness | 0:58c3d014a4e7 | 9 | |
slowness | 0:58c3d014a4e7 | 10 | #ifdef __cplusplus |
slowness | 0:58c3d014a4e7 | 11 | extern "C" { |
slowness | 0:58c3d014a4e7 | 12 | #endif |
slowness | 0:58c3d014a4e7 | 13 | |
slowness | 0:58c3d014a4e7 | 14 | //DG 2010 |
slowness | 0:58c3d014a4e7 | 15 | void sys_init(void); /* To be called first */ |
slowness | 0:58c3d014a4e7 | 16 | u32_t sys_jiffies(void); /* since power up. */ |
slowness | 0:58c3d014a4e7 | 17 | |
slowness | 0:58c3d014a4e7 | 18 | /** Returns the current time in milliseconds, |
slowness | 0:58c3d014a4e7 | 19 | * may be the same as sys_jiffies or at least based on it. */ |
slowness | 0:58c3d014a4e7 | 20 | u32_t sys_now(void); |
slowness | 0:58c3d014a4e7 | 21 | |
slowness | 0:58c3d014a4e7 | 22 | #ifdef __cplusplus |
slowness | 0:58c3d014a4e7 | 23 | } |
slowness | 0:58c3d014a4e7 | 24 | #endif |
slowness | 0:58c3d014a4e7 | 25 | |
slowness | 0:58c3d014a4e7 | 26 | |
slowness | 0:58c3d014a4e7 | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |