HAL
__LL_ADC_CALC_VREFANALOG_VOLTAGE is only used within HAL.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

Analog reference voltage (unit: mV)

Notes

Computation is using VrefInt calibration value stored in system memory for each device during production. This voltage depends on user board environment: voltage level connected to pin Vref+. On devices with small package, the pin Vref+ is not present and internally bonded to pin Vdda. On this STM32 series, calibration data of internal voltage reference VrefInt corresponds to a resolution of 12 bits, this is the recommended ADC resolution to convert voltage of internal voltage reference VrefInt. Otherwise, this macro performs the processing to scale ADC conversion data to 12 bits.

References

from examples