These functions are available in the libopencm3, but only for the STM32F0. However, they should work with very little changes also for the STM32L0, but have not been ported yet. Therefore I'm quickly testing them here.
This is the reference for the calc_temperature_ntc function.
Nothing tested yet…