The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
44:24d45a770a51
Parent:
43:e2ed12d17f06
Child:
45:3d775a932e1d
--- a/device.h	Fri Oct 26 17:40:46 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-
-#ifndef MBED_DEVICE_H
-#define MBED_DEVICE_H
-
-#if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
-
-#define DEVICE_PORTIN 1
-#define DEVICE_PORTOUT 1
-#define DEVICE_PORTINOUT 1
-
-#define DEVICE_INTERRUPTIN 1
-
-#define DEVICE_ANALOGIN 1
-#define DEVICE_ANALOGOUT 1
-
-#define DEVICE_SERIAL 1
-
-#define DEVICE_I2C 1
-#define DEVICE_I2CSLAVE 1
-
-#define DEVICE_SPI 1
-#define DEVICE_SPISLAVE 1
-
-#define DEVICE_CAN 1
-
-#define DEVICE_RTC 1
-
-#define DEVICE_ETHERNET 1
-
-#define DEVICE_PWMOUT 1
-
-#elif defined(TARGET_LPC11U24)
-
-#define DEVICE_PORTIN 1
-#define DEVICE_PORTOUT 1
-#define DEVICE_PORTINOUT 1
-
-#define DEVICE_INTERRUPTIN 1
-
-#define DEVICE_ANALOGIN 1
-#define DEVICE_ANALOGOUT 0
-
-#define DEVICE_SERIAL 1
-
-#define DEVICE_I2C 1
-#define DEVICE_I2CSLAVE 1
-
-#define DEVICE_SPI 1
-#define DEVICE_SPISLAVE 1
-
-#define DEVICE_CAN 0
-
-#define DEVICE_RTC 0
-
-#define DEVICE_ETHERNET 0
-
-#define DEVICE_PWMOUT 1
-
-#endif
-
-#endif
-