Page 1 of 1

adcSTM32EnableTS differences between ADCv2 and ADCv3

Posted: Mon May 15, 2017 8:01 am
by neums
Hi,
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

Re: adcSTM32EnableTS differences between ADCv2 and ADCv3

Posted: Mon May 15, 2017 8:42 am
by Giovanni
hi,

Moving in "bug reports".

Giovanni