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