NXP fan (in Japan)
/
TwitterExample_Japanese
japanese tweeting sample with newer version libraries
EthernetNetIf/LPC2368/lwip/arch/sys_arch.h@0:66c7c9c4f765, 2012-08-31 (annotated)
- Committer:
- nxpfan
- Date:
- Fri Aug 31 08:19:51 2012 +0000
- Revision:
- 0:66c7c9c4f765
version with newer libraries
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nxpfan | 0:66c7c9c4f765 | 1 | /* |
nxpfan | 0:66c7c9c4f765 | 2 | * Author: Adam Dunkels <adam@sics.se> |
nxpfan | 0:66c7c9c4f765 | 3 | * |
nxpfan | 0:66c7c9c4f765 | 4 | */ |
nxpfan | 0:66c7c9c4f765 | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
nxpfan | 0:66c7c9c4f765 | 6 | #define __LWIP_SYS_ARCH_H__ |
nxpfan | 0:66c7c9c4f765 | 7 | |
nxpfan | 0:66c7c9c4f765 | 8 | typedef unsigned int u32_t; |
nxpfan | 0:66c7c9c4f765 | 9 | |
nxpfan | 0:66c7c9c4f765 | 10 | #ifdef __cplusplus |
nxpfan | 0:66c7c9c4f765 | 11 | extern "C" { |
nxpfan | 0:66c7c9c4f765 | 12 | #endif |
nxpfan | 0:66c7c9c4f765 | 13 | |
nxpfan | 0:66c7c9c4f765 | 14 | //DG 2010 |
nxpfan | 0:66c7c9c4f765 | 15 | void sys_init(void); /* To be called first */ |
nxpfan | 0:66c7c9c4f765 | 16 | u32_t sys_jiffies(void); /* since power up. */ |
nxpfan | 0:66c7c9c4f765 | 17 | |
nxpfan | 0:66c7c9c4f765 | 18 | /** Returns the current time in milliseconds, |
nxpfan | 0:66c7c9c4f765 | 19 | * may be the same as sys_jiffies or at least based on it. */ |
nxpfan | 0:66c7c9c4f765 | 20 | u32_t sys_now(void); |
nxpfan | 0:66c7c9c4f765 | 21 | |
nxpfan | 0:66c7c9c4f765 | 22 | #ifdef __cplusplus |
nxpfan | 0:66c7c9c4f765 | 23 | } |
nxpfan | 0:66c7c9c4f765 | 24 | #endif |
nxpfan | 0:66c7c9c4f765 | 25 | |
nxpfan | 0:66c7c9c4f765 | 26 | |
nxpfan | 0:66c7c9c4f765 | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |