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