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