Stripped down version of Segundos NetService library (http://mbed.org/users/segundo/libraries/NetServices ). I have removed all NetServices, and all functions which had been disabled. Use this version when you need only pure TCP or UDP functions - this library compiles faster.
Dependents: christmasLights device_server pop3demo device_server_udp ... more
lwip/arch/sys_arch.h@0:8b387bed54c2, 2011-01-10 (annotated)
- Committer:
- hlipka
- Date:
- Mon Jan 10 21:03:11 2011 +0000
- Revision:
- 0:8b387bed54c2
initial version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hlipka | 0:8b387bed54c2 | 1 | /* |
hlipka | 0:8b387bed54c2 | 2 | * Author: Adam Dunkels <adam@sics.se> |
hlipka | 0:8b387bed54c2 | 3 | * |
hlipka | 0:8b387bed54c2 | 4 | */ |
hlipka | 0:8b387bed54c2 | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
hlipka | 0:8b387bed54c2 | 6 | #define __LWIP_SYS_ARCH_H__ |
hlipka | 0:8b387bed54c2 | 7 | |
hlipka | 0:8b387bed54c2 | 8 | typedef unsigned int u32_t; |
hlipka | 0:8b387bed54c2 | 9 | |
hlipka | 0:8b387bed54c2 | 10 | #ifdef __cplusplus |
hlipka | 0:8b387bed54c2 | 11 | extern "C" { |
hlipka | 0:8b387bed54c2 | 12 | #endif |
hlipka | 0:8b387bed54c2 | 13 | |
hlipka | 0:8b387bed54c2 | 14 | //DG 2010 |
hlipka | 0:8b387bed54c2 | 15 | void sys_init(void); /* To be called first */ |
hlipka | 0:8b387bed54c2 | 16 | u32_t sys_jiffies(void); /* since power up. */ |
hlipka | 0:8b387bed54c2 | 17 | |
hlipka | 0:8b387bed54c2 | 18 | /** Returns the current time in milliseconds, |
hlipka | 0:8b387bed54c2 | 19 | * may be the same as sys_jiffies or at least based on it. */ |
hlipka | 0:8b387bed54c2 | 20 | u32_t sys_now(void); |
hlipka | 0:8b387bed54c2 | 21 | |
hlipka | 0:8b387bed54c2 | 22 | #ifdef __cplusplus |
hlipka | 0:8b387bed54c2 | 23 | } |
hlipka | 0:8b387bed54c2 | 24 | #endif |
hlipka | 0:8b387bed54c2 | 25 | |
hlipka | 0:8b387bed54c2 | 26 | |
hlipka | 0:8b387bed54c2 | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |