Web server based weather station using Sparkfun Weather Meters.
Dependencies: FatFileSystem mbed WeatherMeters SDFileSystem
NetStack/lwip/arch/sys_arch.h@1:c7958aa34fa1, 2012-02-25 (annotated)
- Committer:
- AdamGreen
- Date:
- Sat Feb 25 03:28:05 2012 +0000
- Revision:
- 1:c7958aa34fa1
- Parent:
- 0:616601bde9fb
Use published libraries where possible.
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__ */ |