question about rationnale of function name

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
Post Reply
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

question about rationnale of function name

Post 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
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: question about rationnale of function name

Post 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
Post Reply