Page 1 of 1

ADC lld api inconsistency?

Posted: Thu Jun 19, 2014 8:08 am
by lilvinz
Hi Giovanni,

is there a reason for the adc lld api to be different among stm32 platforms?
E.g. i am missing adcSTM32Calibrate(), adcSTM32EnableTSVREFE(), and adcSTM32DisableTSVREFE() for the STM32F1xx.

Cheers,

Vinz

Re: ADC lld api inconsistency?

Posted: Thu Jun 19, 2014 8:24 am
by Giovanni
The APIs marked as "STM32" in the name are platform-specific, those feature are not even portable across the various STM32s. The ADC is the peripheral that always change for some reason.

Giovanni

Re: ADC lld api inconsistency?

Posted: Thu Jun 19, 2014 8:48 am
by lilvinz
Thanks for the reply.

Cheers,

Vinz

Re: ADC lld api inconsistency?

Posted: Thu Jun 19, 2014 11:01 am
by lilvinz
Is there a reason that the f1xx platform only supports ADC1?

Re: ADC lld api inconsistency?

Posted: Thu Jun 19, 2014 11:25 am
by Giovanni
Not a technical reason, ADC3 could be supported too but it is very low in my priorities, F1s are very old devices.

Giovanni