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: SPIne CH_Communicatuin_Test CH_Communicatuin_Test2 MCP_SPIne ... more
Fork of mbed-dev-f303 by
Diff: targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/objects.h
- Revision:
- 148:21d94c44109e
- Parent:
- 144:ef7eb2e8f9f7
diff -r 30b64687e01f -r 21d94c44109e targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/objects.h
--- a/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/objects.h Fri Sep 16 16:24:25 2016 +0100
+++ b/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/objects.h Fri Sep 30 18:07:01 2016 +0100
@@ -1,6 +1,6 @@
/* mbed Microcontroller Library
*******************************************************************************
- * Copyright (c) 2014, STMicroelectronics
+ * Copyright (c) 2015, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -60,31 +60,14 @@
uint8_t channel;
};
-struct dac_s {
- DACName dac;
- uint8_t channel;
+
+
+#include "common_objects.h"
+struct can_s {
+ CANName can;
+ int index;
};
-struct spi_s {
- SPIName spi;
- uint32_t bits;
- uint32_t cpol;
- uint32_t cpha;
- uint32_t mode;
- uint32_t nss;
- uint32_t br_presc;
- PinName pin_miso;
- PinName pin_mosi;
- PinName pin_sclk;
- PinName pin_ssel;
-};
-
-struct i2c_s {
- I2CName i2c;
- uint32_t slave;
-};
-
-#include "common_objects.h"
#include "gpio_object.h"
#ifdef __cplusplus
