FBI FRATER
/
InetTest
Library for Bert van Dam's book "ARM MICROCONTROLLERS" For all chapters with internet.
NetServices/lwip/arch/sys_arch.h@0:4edb816d21e1, 2015-10-16 (annotated)
- Committer:
- ICTFBI
- Date:
- Fri Oct 16 14:28:26 2015 +0000
- Revision:
- 0:4edb816d21e1
Pre-update 16-10-15
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ICTFBI | 0:4edb816d21e1 | 1 | /* |
ICTFBI | 0:4edb816d21e1 | 2 | * Author: Adam Dunkels <adam@sics.se> |
ICTFBI | 0:4edb816d21e1 | 3 | * |
ICTFBI | 0:4edb816d21e1 | 4 | */ |
ICTFBI | 0:4edb816d21e1 | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
ICTFBI | 0:4edb816d21e1 | 6 | #define __LWIP_SYS_ARCH_H__ |
ICTFBI | 0:4edb816d21e1 | 7 | |
ICTFBI | 0:4edb816d21e1 | 8 | typedef unsigned int u32_t; |
ICTFBI | 0:4edb816d21e1 | 9 | |
ICTFBI | 0:4edb816d21e1 | 10 | #ifdef __cplusplus |
ICTFBI | 0:4edb816d21e1 | 11 | extern "C" { |
ICTFBI | 0:4edb816d21e1 | 12 | #endif |
ICTFBI | 0:4edb816d21e1 | 13 | |
ICTFBI | 0:4edb816d21e1 | 14 | //DG 2010 |
ICTFBI | 0:4edb816d21e1 | 15 | void sys_init(void); /* To be called first */ |
ICTFBI | 0:4edb816d21e1 | 16 | u32_t sys_jiffies(void); /* since power up. */ |
ICTFBI | 0:4edb816d21e1 | 17 | |
ICTFBI | 0:4edb816d21e1 | 18 | /** Returns the current time in milliseconds, |
ICTFBI | 0:4edb816d21e1 | 19 | * may be the same as sys_jiffies or at least based on it. */ |
ICTFBI | 0:4edb816d21e1 | 20 | u32_t sys_now(void); |
ICTFBI | 0:4edb816d21e1 | 21 | |
ICTFBI | 0:4edb816d21e1 | 22 | #ifdef __cplusplus |
ICTFBI | 0:4edb816d21e1 | 23 | } |
ICTFBI | 0:4edb816d21e1 | 24 | #endif |
ICTFBI | 0:4edb816d21e1 | 25 | |
ICTFBI | 0:4edb816d21e1 | 26 | |
ICTFBI | 0:4edb816d21e1 | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |