why the amount of parameter of adcSTM32EnableTS is different in ADCv2 and ADCv3?
ADCv3:
Code: Select all
adcSTM32EnableTS(ADCDriver *adcp)
and ADCv2:
Code: Select all
void adcSTM32EnableTSVREFE(void)
ADCv3 has two different CCR, but the temperature sensor is always connected to ADC1, isn't it? So the pointer to ADCDriver as parameter is not required in the function of ADCv3. Maybe we can unify the interface of this function.
Thanks