Page 1 of 1

question about rationnale of function name

Posted: Wed May 29, 2019 3:53 pm
by alex31
Hello,

I have a question of very little importance, but still, I have to ask :-)

Why for for some ADC drivers (f37x, adcV2) , the function that enable internal channel vref and battery are :

Code: Select all

adcSTM32EnableTSVREFE(); 
adcSTM32EnableVBATE();


and for others (f3xx, adcV1, adcV3, adcV4) , there is not the final 'E' in the name

Code: Select all

adcSTM32EnableTSVREF(); 
adcSTM32EnableVBAT();


Is there a reason ?, because it make portable code more complex.

Alexandre

Re: question about rationnale of function name

Posted: Wed May 29, 2019 4:25 pm
by Giovanni
I think it comes from the reference manuals. It is not a standard HAL API.

You could make a change request about this.

Giovanni