VREFBUF Configuration NOT Available in Cube MX for STM32G070RB
I am trying to work ADC Module. I was hoping to use Internal Reference Voltage of 2.5V for ADC Reference Valve.
STM32G070RB does have VREF+ Pin on Pin Number 7. But there is no way to Configure VREFBUF to scale voltage around 2.5V. Cube MX Does not have any option to do so, nor that can be does via code.
In generated code VREFBUF flag is not defines and so its functions, like
#if defined(VREFBUF) --- NOT Defined
HAL_StatusTypeDef HAL_SYSCFG_EnableVREFBUF(void) --- Can not be Used
are disabled and con not be used.
STM32G070RB is on my custom board with LQFP64 Package. It does support VREFBUF as per datasheet but can not find any way to do so in Cube MX or in IDE.
Please suggest how can I achieve this.