This short program illustrates how to use the DS130x_I2C library. My objective is to share the same RTC with Microchip 18F MCU.

Dependencies:   mbed DebugLibrary

NetServices/lwip/arch/sys_arch.h

Committer:
Yann
Date:
2011-02-11
Revision:
1:995212d326ca
Parent:
0:f30e2135b0db

File content as of revision 1:995212d326ca:

/*
 * Author: Adam Dunkels <adam@sics.se>
 *
 */
#ifndef __LWIP_SYS_ARCH_H__
#define __LWIP_SYS_ARCH_H__

typedef unsigned int u32_t;

#ifdef __cplusplus
extern "C" {
#endif

//DG 2010
void sys_init(void); /* To be called first */
u32_t sys_jiffies(void); /* since power up. */

/** Returns the current time in milliseconds,
 * may be the same as sys_jiffies or at least based on it. */
u32_t sys_now(void);

#ifdef __cplusplus
}
#endif


#endif /* __LWIP_ARCH_CC_H__ */