I am trying to use the ADC on STM32L151, the external pin VREF+ is "not connected" in my design, instead I would like to use the VREFINT (internal reference voltage). The datasheet states: "VREFINT is internally connected to the ADC_IN17 input channel. It enables accurate monitoring of the VDD value (when no external voltage, VREF+, is available for ADC)."
1) Is it possible to use the VREFINT on packages that do have VREF+ pin?
2) If so- what should I configure in my code to enable this?