Web server based weather station using Sparkfun Weather Meters.
Dependencies: FatFileSystem mbed WeatherMeters SDFileSystem
NetStack/lwip/arch/sys_arch.h@0:616601bde9fb, 2012-02-23 (annotated)
- Committer:
- AdamGreen
- Date:
- Thu Feb 23 21:38:39 2012 +0000
- Revision:
- 0:616601bde9fb
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AdamGreen | 0:616601bde9fb | 1 | /* |
AdamGreen | 0:616601bde9fb | 2 | * Author: Adam Dunkels <adam@sics.se> |
AdamGreen | 0:616601bde9fb | 3 | * |
AdamGreen | 0:616601bde9fb | 4 | */ |
AdamGreen | 0:616601bde9fb | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
AdamGreen | 0:616601bde9fb | 6 | #define __LWIP_SYS_ARCH_H__ |
AdamGreen | 0:616601bde9fb | 7 | |
AdamGreen | 0:616601bde9fb | 8 | typedef unsigned int u32_t; |
AdamGreen | 0:616601bde9fb | 9 | |
AdamGreen | 0:616601bde9fb | 10 | #ifdef __cplusplus |
AdamGreen | 0:616601bde9fb | 11 | extern "C" { |
AdamGreen | 0:616601bde9fb | 12 | #endif |
AdamGreen | 0:616601bde9fb | 13 | |
AdamGreen | 0:616601bde9fb | 14 | //DG 2010 |
AdamGreen | 0:616601bde9fb | 15 | void sys_init(void); /* To be called first */ |
AdamGreen | 0:616601bde9fb | 16 | u32_t sys_jiffies(void); /* since power up. */ |
AdamGreen | 0:616601bde9fb | 17 | |
AdamGreen | 0:616601bde9fb | 18 | /** Returns the current time in milliseconds, |
AdamGreen | 0:616601bde9fb | 19 | * may be the same as sys_jiffies or at least based on it. */ |
AdamGreen | 0:616601bde9fb | 20 | u32_t sys_now(void); |
AdamGreen | 0:616601bde9fb | 21 | |
AdamGreen | 0:616601bde9fb | 22 | #ifdef __cplusplus |
AdamGreen | 0:616601bde9fb | 23 | } |
AdamGreen | 0:616601bde9fb | 24 | #endif |
AdamGreen | 0:616601bde9fb | 25 | |
AdamGreen | 0:616601bde9fb | 26 | |
AdamGreen | 0:616601bde9fb | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |