mirror of https://github.com/ARMmbed/mbed-os.git
8540e8a1dd
In this commit, the analogin_s structure is moved to commonn_objects.h file to limit the duplicaion. The ADC handle is moved from a global variable to a struct member of the analogin object. This allows multiple ADC instances to work correctly. Note that State needs to be explicitely set to HAL_ADC_STATE_RESET because the object is not zero initialized. |
||
---|---|---|
.. | ||
device | ||
PeripheralNames.h | ||
PeripheralPins.c | ||
PinNames.h | ||
objects.h | ||
onboard_modem_api.c |