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