![](/media/cache/profiles/3f4243a6f681f2920ac3e95a63517274.50x50_q85.jpg)
code that uses Watchdog to reset Mbed every 30seconds. After 30-60mins, the ethernet interface fails to setup() after WatchDog reset.
EthernetNetIf/LPC2368/lwip/arch/sys_arch.h@0:0ce833f21e63, 2012-06-07 (annotated)
- Committer:
- eqon
- Date:
- Thu Jun 07 05:44:29 2012 +0000
- Revision:
- 0:0ce833f21e63
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
eqon | 0:0ce833f21e63 | 1 | /* |
eqon | 0:0ce833f21e63 | 2 | * Author: Adam Dunkels <adam@sics.se> |
eqon | 0:0ce833f21e63 | 3 | * |
eqon | 0:0ce833f21e63 | 4 | */ |
eqon | 0:0ce833f21e63 | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
eqon | 0:0ce833f21e63 | 6 | #define __LWIP_SYS_ARCH_H__ |
eqon | 0:0ce833f21e63 | 7 | |
eqon | 0:0ce833f21e63 | 8 | typedef unsigned int u32_t; |
eqon | 0:0ce833f21e63 | 9 | |
eqon | 0:0ce833f21e63 | 10 | #ifdef __cplusplus |
eqon | 0:0ce833f21e63 | 11 | extern "C" { |
eqon | 0:0ce833f21e63 | 12 | #endif |
eqon | 0:0ce833f21e63 | 13 | |
eqon | 0:0ce833f21e63 | 14 | //DG 2010 |
eqon | 0:0ce833f21e63 | 15 | void sys_init(void); /* To be called first */ |
eqon | 0:0ce833f21e63 | 16 | u32_t sys_jiffies(void); /* since power up. */ |
eqon | 0:0ce833f21e63 | 17 | |
eqon | 0:0ce833f21e63 | 18 | /** Returns the current time in milliseconds, |
eqon | 0:0ce833f21e63 | 19 | * may be the same as sys_jiffies or at least based on it. */ |
eqon | 0:0ce833f21e63 | 20 | u32_t sys_now(void); |
eqon | 0:0ce833f21e63 | 21 | |
eqon | 0:0ce833f21e63 | 22 | #ifdef __cplusplus |
eqon | 0:0ce833f21e63 | 23 | } |
eqon | 0:0ce833f21e63 | 24 | #endif |
eqon | 0:0ce833f21e63 | 25 | |
eqon | 0:0ce833f21e63 | 26 | |
eqon | 0:0ce833f21e63 | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |