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-dev by
Diff: targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/objects.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
--- a/targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/objects.h Wed Jun 21 17:46:44 2017 +0100 +++ b/targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/objects.h Thu Jul 06 15:42:05 2017 +0100 @@ -45,6 +45,7 @@ struct i2c_s { MPS2_I2C_TypeDef *i2c; + uint32_t freq_us; /* Stores I2C frequency in microseconds */ }; struct tsc_s { @@ -65,11 +66,7 @@ }; struct analogin_s { - ADCName adc; - MPS2_SSP_TypeDef *adc_spi; - PinName pin; - uint32_t pin_number; - __IO uint32_t address; + uint16_t ctrl_register; /* Control bits with the channel identifier */ }; #include "gpio_object.h"