Dependents: RTnoV3 RTnoV3_LED RTnoV3_Template RTnoV3_ADC ... more
LPC1768/lwip/arch/sys_arch.h@0:479ce5546098, 2011-12-31 (annotated)
- Committer:
- sherckuith
- Date:
- Sat Dec 31 11:25:27 2011 +0000
- Revision:
- 0:479ce5546098
Ethernet
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sherckuith | 0:479ce5546098 | 1 | /* |
sherckuith | 0:479ce5546098 | 2 | * Author: Adam Dunkels <adam@sics.se> |
sherckuith | 0:479ce5546098 | 3 | * |
sherckuith | 0:479ce5546098 | 4 | */ |
sherckuith | 0:479ce5546098 | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
sherckuith | 0:479ce5546098 | 6 | #define __LWIP_SYS_ARCH_H__ |
sherckuith | 0:479ce5546098 | 7 | |
sherckuith | 0:479ce5546098 | 8 | typedef unsigned int u32_t; |
sherckuith | 0:479ce5546098 | 9 | |
sherckuith | 0:479ce5546098 | 10 | #ifdef __cplusplus |
sherckuith | 0:479ce5546098 | 11 | extern "C" { |
sherckuith | 0:479ce5546098 | 12 | #endif |
sherckuith | 0:479ce5546098 | 13 | |
sherckuith | 0:479ce5546098 | 14 | //DG 2010 |
sherckuith | 0:479ce5546098 | 15 | void sys_init(void); /* To be called first */ |
sherckuith | 0:479ce5546098 | 16 | u32_t sys_jiffies(void); /* since power up. */ |
sherckuith | 0:479ce5546098 | 17 | |
sherckuith | 0:479ce5546098 | 18 | /** Returns the current time in milliseconds, |
sherckuith | 0:479ce5546098 | 19 | * may be the same as sys_jiffies or at least based on it. */ |
sherckuith | 0:479ce5546098 | 20 | u32_t sys_now(void); |
sherckuith | 0:479ce5546098 | 21 | |
sherckuith | 0:479ce5546098 | 22 | #ifdef __cplusplus |
sherckuith | 0:479ce5546098 | 23 | } |
sherckuith | 0:479ce5546098 | 24 | #endif |
sherckuith | 0:479ce5546098 | 25 | |
sherckuith | 0:479ce5546098 | 26 | |
sherckuith | 0:479ce5546098 | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |