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.
Diff: TARGET_ARM_MPS2_M7/TARGET_ARM_SSG/TARGET_MPS2/objects.h
- Revision:
- 116:c0f6e94411f5
- Parent:
- 102:da0ca467f8b5
--- a/TARGET_ARM_MPS2_M7/TARGET_ARM_SSG/TARGET_MPS2/objects.h Wed Mar 02 09:58:28 2016 +0100 +++ b/TARGET_ARM_MPS2_M7/TARGET_ARM_SSG/TARGET_MPS2/objects.h Tue Mar 15 14:34:00 2016 +0000 @@ -31,7 +31,7 @@ struct port_s { __IO uint32_t *reg_dir; - __IO uint32_t *reg_dirclr; + __IO uint32_t *reg_dirclr; __IO uint32_t *reg_out; __IO uint32_t *reg_in; PortName port; @@ -53,7 +53,7 @@ struct audio_s { MPS2_I2S_TypeDef *audio_I2S; - MPS2_I2C_TypeDef *audio_I2C; + MPS2_I2C_TypeDef *audio_I2C; }; @@ -65,6 +65,14 @@ MPS2_SSP_TypeDef *clcd; }; +struct analogin_s { + ADCName adc; + MPS2_SSP_TypeDef *adc_spi; + PinName pin; + uint32_t pin_number; + __IO uint32_t address; +}; + #include "gpio_object.h" #ifdef __cplusplus