Lorcan Smith
/
Enet_SPI
SNMP agent attached to SPI slave
lwip/arch/sys_arch.h@0:2a53a4c3238c, 2012-08-13 (annotated)
- Committer:
- lorcansmith
- Date:
- Mon Aug 13 15:07:40 2012 +0000
- Revision:
- 0:2a53a4c3238c
v1.1 release includes ioAlarm traps
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lorcansmith | 0:2a53a4c3238c | 1 | /* |
lorcansmith | 0:2a53a4c3238c | 2 | * Author: Adam Dunkels <adam@sics.se> |
lorcansmith | 0:2a53a4c3238c | 3 | * |
lorcansmith | 0:2a53a4c3238c | 4 | */ |
lorcansmith | 0:2a53a4c3238c | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
lorcansmith | 0:2a53a4c3238c | 6 | #define __LWIP_SYS_ARCH_H__ |
lorcansmith | 0:2a53a4c3238c | 7 | |
lorcansmith | 0:2a53a4c3238c | 8 | typedef unsigned int u32_t; |
lorcansmith | 0:2a53a4c3238c | 9 | |
lorcansmith | 0:2a53a4c3238c | 10 | #ifdef __cplusplus |
lorcansmith | 0:2a53a4c3238c | 11 | extern "C" { |
lorcansmith | 0:2a53a4c3238c | 12 | #endif |
lorcansmith | 0:2a53a4c3238c | 13 | |
lorcansmith | 0:2a53a4c3238c | 14 | //DG 2010 |
lorcansmith | 0:2a53a4c3238c | 15 | void sys_init(void); /* To be called first */ |
lorcansmith | 0:2a53a4c3238c | 16 | u32_t sys_jiffies(void); /* since power up. */ |
lorcansmith | 0:2a53a4c3238c | 17 | |
lorcansmith | 0:2a53a4c3238c | 18 | /** Returns the current time in milliseconds, |
lorcansmith | 0:2a53a4c3238c | 19 | * may be the same as sys_jiffies or at least based on it. */ |
lorcansmith | 0:2a53a4c3238c | 20 | u32_t sys_now(void); |
lorcansmith | 0:2a53a4c3238c | 21 | |
lorcansmith | 0:2a53a4c3238c | 22 | #ifdef __cplusplus |
lorcansmith | 0:2a53a4c3238c | 23 | } |
lorcansmith | 0:2a53a4c3238c | 24 | #endif |
lorcansmith | 0:2a53a4c3238c | 25 | |
lorcansmith | 0:2a53a4c3238c | 26 | |
lorcansmith | 0:2a53a4c3238c | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |