Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: cc3000_ping_demo_try_2
Fork of mbed by
Diff: SPIHalfDuplex.h
- Revision:
- 27:7110ebee3484
- Parent:
- 20:029aa53d7323
- Child:
- 30:3991a86798e3
diff -r 63bcd7ba4912 -r 7110ebee3484 SPIHalfDuplex.h
--- a/SPIHalfDuplex.h Fri Feb 11 10:33:02 2011 +0000
+++ b/SPIHalfDuplex.h Tue Nov 29 14:59:27 2011 +0000
@@ -1,11 +1,14 @@
-/* mbed Microcontroller Library - SPI
- * Copyright (c) 2010 ARM Limited. All rights reserved.
- * jward
+/* mbed Microcontroller Library - SPIHalfDuplex
+ * Copyright (c) 2010-2011 ARM Limited. All rights reserved.
*/
#ifndef MBED_SPIHALFDUPLEX_H
#define MBED_SPIHALFDUPLEX_H
+#include "device.h"
+
+#if DEVICE_SPIHALFDUPLEX
+
#include "SPI.h"
namespace mbed {
@@ -111,3 +114,5 @@
} // End of namespace mbed
#endif
+
+#endif
