The form of the spectral functions associated with a class of Sturm–Liouville equations with integrable coefficient