Dependents:   SimpleLCDClock readCard2Twitter_http AnalogClock_StepperMotor_NTP ServoCamV1

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sys_arch.h Source File

sys_arch.h

00001 /*
00002  * Author: Adam Dunkels <adam@sics.se>
00003  *
00004  */
00005 #ifndef __LWIP_SYS_ARCH_H__
00006 #define __LWIP_SYS_ARCH_H__
00007 
00008 typedef unsigned int u32_t;
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013 
00014 //DG 2010
00015 void sys_init(void); /* To be called first */
00016 u32_t sys_jiffies(void); /* since power up. */
00017 
00018 /** Returns the current time in milliseconds,
00019  * may be the same as sys_jiffies or at least based on it. */
00020 u32_t sys_now(void);
00021 
00022 #ifdef __cplusplus
00023 }
00024 #endif
00025 
00026 
00027 #endif /* __LWIP_ARCH_CC_H__ */