Used in Live Traffic Update Nokia LCD Display Project
Fork of NetServices by
lwip/arch/sys_arch.h@8:92b57208ab99, 2013-03-06 (annotated)
- Committer:
- rrajan8
- Date:
- Wed Mar 06 19:07:23 2013 +0000
- Revision:
- 8:92b57208ab99
- Parent:
- 0:ac1725ba162c
This project utilizes mbed's networking features to display live traffic updates on the Nokia LCD using the MapQuest API's Traffic Web Service.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
segundo | 0:ac1725ba162c | 1 | /* |
segundo | 0:ac1725ba162c | 2 | * Author: Adam Dunkels <adam@sics.se> |
segundo | 0:ac1725ba162c | 3 | * |
segundo | 0:ac1725ba162c | 4 | */ |
segundo | 0:ac1725ba162c | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
segundo | 0:ac1725ba162c | 6 | #define __LWIP_SYS_ARCH_H__ |
segundo | 0:ac1725ba162c | 7 | |
segundo | 0:ac1725ba162c | 8 | typedef unsigned int u32_t; |
segundo | 0:ac1725ba162c | 9 | |
segundo | 0:ac1725ba162c | 10 | #ifdef __cplusplus |
segundo | 0:ac1725ba162c | 11 | extern "C" { |
segundo | 0:ac1725ba162c | 12 | #endif |
segundo | 0:ac1725ba162c | 13 | |
segundo | 0:ac1725ba162c | 14 | //DG 2010 |
segundo | 0:ac1725ba162c | 15 | void sys_init(void); /* To be called first */ |
segundo | 0:ac1725ba162c | 16 | u32_t sys_jiffies(void); /* since power up. */ |
segundo | 0:ac1725ba162c | 17 | |
segundo | 0:ac1725ba162c | 18 | /** Returns the current time in milliseconds, |
segundo | 0:ac1725ba162c | 19 | * may be the same as sys_jiffies or at least based on it. */ |
segundo | 0:ac1725ba162c | 20 | u32_t sys_now(void); |
segundo | 0:ac1725ba162c | 21 | |
segundo | 0:ac1725ba162c | 22 | #ifdef __cplusplus |
segundo | 0:ac1725ba162c | 23 | } |
segundo | 0:ac1725ba162c | 24 | #endif |
segundo | 0:ac1725ba162c | 25 | |
segundo | 0:ac1725ba162c | 26 | |
segundo | 0:ac1725ba162c | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |