Added ANALOGIN support

pull/12482/head
George Beckstein 2020-02-20 10:54:34 -05:00
parent b11d160195
commit cc86ec99d0
2 changed files with 6 additions and 1 deletions

View File

@ -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;
}; };

View File

@ -7562,7 +7562,6 @@
"MPU" "MPU"
], ],
"device_has_remove": [ "device_has_remove": [
"ANALOGIN",
"I2C", "I2C",
"I2CSLAVE", "I2CSLAVE",
"I2C_ASYNCH", "I2C_ASYNCH",