This is an OSC library for the mbed, created to be compatible with Recotana\'s OSCClass library (http://recotana.com) for the Arduino with Ethernet shield. I have also used parts of the OSC Transceiver(Sender/Receiver) code by xshige. It has many limitations, but it works for simple things (check comments on the mbedOSC.h). It will be evolving. written by: Alvaro Cassinelli, 7.10.2011
EthernetNetIf/LPC1768/lwip/arch/sys_arch.h@0:f76708a93fb3, 2011-10-15 (annotated)
- Committer:
- mbedalvaro
- Date:
- Sat Oct 15 14:15:55 2011 +0000
- Revision:
- 0:f76708a93fb3
First working test of this simple OSC library.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbedalvaro | 0:f76708a93fb3 | 1 | /* |
mbedalvaro | 0:f76708a93fb3 | 2 | * Author: Adam Dunkels <adam@sics.se> |
mbedalvaro | 0:f76708a93fb3 | 3 | * |
mbedalvaro | 0:f76708a93fb3 | 4 | */ |
mbedalvaro | 0:f76708a93fb3 | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
mbedalvaro | 0:f76708a93fb3 | 6 | #define __LWIP_SYS_ARCH_H__ |
mbedalvaro | 0:f76708a93fb3 | 7 | |
mbedalvaro | 0:f76708a93fb3 | 8 | typedef unsigned int u32_t; |
mbedalvaro | 0:f76708a93fb3 | 9 | |
mbedalvaro | 0:f76708a93fb3 | 10 | #ifdef __cplusplus |
mbedalvaro | 0:f76708a93fb3 | 11 | extern "C" { |
mbedalvaro | 0:f76708a93fb3 | 12 | #endif |
mbedalvaro | 0:f76708a93fb3 | 13 | |
mbedalvaro | 0:f76708a93fb3 | 14 | //DG 2010 |
mbedalvaro | 0:f76708a93fb3 | 15 | void sys_init(void); /* To be called first */ |
mbedalvaro | 0:f76708a93fb3 | 16 | u32_t sys_jiffies(void); /* since power up. */ |
mbedalvaro | 0:f76708a93fb3 | 17 | |
mbedalvaro | 0:f76708a93fb3 | 18 | /** Returns the current time in milliseconds, |
mbedalvaro | 0:f76708a93fb3 | 19 | * may be the same as sys_jiffies or at least based on it. */ |
mbedalvaro | 0:f76708a93fb3 | 20 | u32_t sys_now(void); |
mbedalvaro | 0:f76708a93fb3 | 21 | |
mbedalvaro | 0:f76708a93fb3 | 22 | #ifdef __cplusplus |
mbedalvaro | 0:f76708a93fb3 | 23 | } |
mbedalvaro | 0:f76708a93fb3 | 24 | #endif |
mbedalvaro | 0:f76708a93fb3 | 25 | |
mbedalvaro | 0:f76708a93fb3 | 26 | |
mbedalvaro | 0:f76708a93fb3 | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |