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.
Fork of mbed by
Diff: TARGET_NUCLEO_L011K4/TARGET_STM/TARGET_STM32L0/common_objects.h
- Revision:
- 128:9bcdf88f62b0
- Parent:
- 127:25aea2a3f4e3
- Child:
- 132:9baf128c2fab
--- a/TARGET_NUCLEO_L011K4/TARGET_STM/TARGET_STM32L0/common_objects.h Fri Sep 30 16:49:46 2016 +0100
+++ b/TARGET_NUCLEO_L011K4/TARGET_STM/TARGET_STM32L0/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
