question about rationnale of function name

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
User avatar
alex31
Posts: 379
Joined: Fri May 25, 2012 10:23 am
Location: toulouse, france
Has thanked: 38 times
Been thanked: 62 times
Contact:

question about rationnale of function name

Postby alex31 » Wed May 29, 2019 3:53 pm

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: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: question about rationnale of function name

Postby Giovanni » Wed May 29, 2019 4:25 pm

I think it comes from the reference manuals. It is not a standard HAL API.

You could make a change request about this.

Giovanni


Return to “ChibiOS/HAL”

Who is online

Users browsing this forum: No registered users and 27 guests