mirror of https://github.com/ARMmbed/mbed-os.git
Added ANALOGIN support
parent
b11d160195
commit
cc86ec99d0
|
|
@ -63,6 +63,12 @@ struct serial_s {
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct analogin_s {
|
||||||
|
ADC_HandleTypeDef handle;
|
||||||
|
PinName pin;
|
||||||
|
uint8_t channel;
|
||||||
|
};
|
||||||
|
|
||||||
struct trng_s {
|
struct trng_s {
|
||||||
RNG_HandleTypeDef handle;
|
RNG_HandleTypeDef handle;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7562,7 +7562,6 @@
|
||||||
"MPU"
|
"MPU"
|
||||||
],
|
],
|
||||||
"device_has_remove": [
|
"device_has_remove": [
|
||||||
"ANALOGIN",
|
|
||||||
"I2C",
|
"I2C",
|
||||||
"I2CSLAVE",
|
"I2CSLAVE",
|
||||||
"I2C_ASYNCH",
|
"I2C_ASYNCH",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue