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:
128:9bcdf88f62b0
Parent:
126:abea610beb85
Child:
132:9baf128c2fab
--- a/TARGET_NUCLEO_F303ZE/TARGET_STM/TARGET_STM32F3/common_objects.h	Fri Sep 30 16:49:46 2016 +0100
+++ b/TARGET_NUCLEO_F303ZE/TARGET_STM/TARGET_STM32F3/common_objects.h	Thu Oct 27 16:45:56 2016 +0100
@@ -49,6 +49,21 @@
     uint8_t inverted;
 };
 
+struct spi_s {
+    SPI_HandleTypeDef handle;
+    IRQn_Type spiIRQ;
+    SPIName spi;
+    PinName pin_miso;
+    PinName pin_mosi;
+    PinName pin_sclk;
+    PinName pin_ssel;
+#ifdef DEVICE_SPI_ASYNCH
+    uint32_t event;
+    uint8_t module;
+    uint8_t transfer_type;
+#endif
+};
+
 struct serial_s {
     UARTName uart;
     int index; // Used by irq